NotificationButton

sealed class NotificationButton

Provide customized notification buttons. They will be shown by default. Note that buttons can still be shown and hidden at runtime by using the functions in NotificationManager but they will have the default icon if not set explicitly here.

Inheritors

Types

Link copied to clipboard
class BACKWARD(@DrawableRes val icon: Int? = null, val isCompact: Boolean = false) : NotificationButton
Link copied to clipboard
class FORWARD(@DrawableRes val icon: Int? = null, val isCompact: Boolean = false) : NotificationButton
Link copied to clipboard
class NEXT(@DrawableRes val icon: Int? = null, val isCompact: Boolean = false) : NotificationButton
Link copied to clipboard
class PLAY_PAUSE(@DrawableRes val playIcon: Int? = null, @DrawableRes val pauseIcon: Int? = null) : NotificationButton
Link copied to clipboard
class PREVIOUS(@DrawableRes val icon: Int? = null, val isCompact: Boolean = false) : NotificationButton
Link copied to clipboard
Link copied to clipboard
class STOP(@DrawableRes val icon: Int? = null) : NotificationButton