Skip to main content
Version: 4.0

UpdateOptions

All parameters are optional. You also only need to specify the ones you want to update.

ParamTypeDescriptionAndroidiOSWindows
ratingTypeRatingTypeThe rating typeβœ…βŒβŒ
forwardJumpIntervalnumberThe interval in seconds for the jump forward buttons (if only one is given then we use that value for both)βœ…βœ…βŒ
backwardJumpIntervalnumberThe interval in seconds for the jump backward buttons (if only one is given then we use that value for both)βœ…βœ…βœ…
androidAndroidOptionsWhether the player will pause playback when the app closesβœ…βŒβŒ
likeOptionsFeedbackOptionsThe media controls that will be enabledβŒβœ…βŒ
dislikeOptionsFeedbackOptionsThe media controls that will be enabledβŒβœ…βŒ
bookmarkOptionsFeedbackOptionsThe media controls that will be enabledβŒβœ…βŒ
capabilitiesCapability[]The media controls that will be enabledβœ…βœ…βœ…
notificationCapabilitiesCapability[]The buttons that it will show in the notification. Defaults to data.capabilitiesβœ…βŒβŒ
compactCapabilitiesCapability[]The buttons that it will show in the compact notificationβœ…βŒβŒ
iconResource ObjectThe notification iconΒΉβœ…βŒβŒ
playIconResource ObjectThe play iconΒΉβœ…βŒβŒ
pauseIconResource ObjectThe pause iconΒΉβœ…βŒβŒ
stopIconResource ObjectThe stop iconΒΉβœ…βŒβŒ
previousIconResource ObjectThe previous iconΒΉβœ…βŒβŒ
nextIconResource ObjectThe next iconΒΉβœ…βŒβŒ
rewindIconResource ObjectThe jump backward iconΒΉβœ…βŒβŒ
forwardIconResource ObjectThe jump forward iconΒΉβœ…βŒβŒ
colornumberThe notification color in an ARGB hexβœ…βŒβŒ
progressUpdateEventIntervalnumberThe interval (in seconds) that the Event.PlaybackProgressUpdated will be fired. undefined by default.βœ…βœ…βŒ

ΒΉ - The custom icons will only work in release builds