UpdateOptions
All parameters are optional. You also only need to specify the ones you want to update.
Param | Type | Description | Android | iOS | Web |
---|---|---|---|---|---|
ratingType | RatingType | The rating type | โ | โ | โ |
forwardJumpInterval | number | The interval in seconds for the jump forward buttons (if only one is given then we use that value for both) | โ | โ | โ |
backwardJumpInterval | number | The interval in seconds for the jump backward buttons (if only one is given then we use that value for both) | โ | โ | โ |
android | AndroidOptions | Whether the player will pause playback when the app closes | โ | โ | โ |
likeOptions | FeedbackOptions | The media controls that will be enabled | โ | โ | โ |
dislikeOptions | FeedbackOptions | The media controls that will be enabled | โ | โ | โ |
bookmarkOptions | FeedbackOptions | The media controls that will be enabled | โ | โ | โ |
capabilities | Capability[] | The media controls that will be enabled | โ | โ | โ |
notificationCapabilities | Capability[] | The buttons that it will show in the notification. Defaults to data.capabilities | โ | โ | โ |
color | number | The notification color in an ARGB hex | โ | โ | โ |
progressUpdateEventInterval | number | The interval (in seconds) that the Event.PlaybackProgressUpdated will be fired. undefined by default. | โ | โ | โ |
ยน - The custom icons will only work in release builds