systemActions property
The set of system actions currently enabled. This is for specifying any
other MediaActionMessage
s that are not supported by controls, because they do
not represent clickable buttons. For example:
- MediaActionMessage.seek (enable a seek bar)
- MediaActionMessage.seekForward (enable press-and-hold fast-forward control)
- MediaActionMessage.seekBackward (enable press-and-hold rewind control)
Note that specifying MediaActionMessage.seek in systemActions will enable a seek bar in both the Android notification and the iOS control center. MediaActionMessage.seekForward and MediaActionMessage.seekBackward have a special behaviour on iOS in which if you have already enabled the MediaActionMessage.skipToNext and MediaActionMessage.skipToPrevious buttons, these additional actions will allow the user to press and hold the buttons to activate the continuous seeking behaviour.
When enabling the seek bar, also note that some Android devices will not render the seek bar correctly unless your AudioServiceConfigMessage.androidNotificationIcon is a monochrome white icon on a transparent background, and your AudioServiceConfigMessage.notificationColor is a non-transparent color.
Implementation
final Set<MediaActionMessage> systemActions;