AndroidOptions
Options available for the android player. All options are optional.
Param | Type | Default | Description |
---|---|---|---|
appKilledPlaybackBehavior | AppKilledPlaybackBehavior | ContinuePlayback | Define how the audio playback should behave after removing the app from recents (killing it). |
alwaysPauseOnInterruption | boolean | false | Whether the remote-duck event will be triggered on every interruption |
stopForegroundGracePeriod | number | 5 | Time 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. |