Skip to main content
Version: 4.1

AndroidOptions

Options available for the android player. All options are optional.

ParamTypeDefaultDescription
appKilledPlaybackBehaviorAppKilledPlaybackBehaviorContinuePlaybackDefine how the audio playback should behave after removing the app from recents (killing it).
alwaysPauseOnInterruptionbooleanfalseWhether the remote-duck event will be triggered on every interruption
stopForegroundGracePeriodnumber5Time in seconds to wait once the player should transition to not considering the service as in the foreground. If playback resumes within this grace period, the service remains in the foreground state.