Share via


PlaybackState.Actions Property

Definition

Get the current actions available on this session.

public long Actions { [Android.Runtime.Register("getActions", "()J", "")] get; }
[<get: Android.Runtime.Register("getActions", "()J", "")>]
member this.Actions : int64

Property Value

Attributes

Remarks

Get the current actions available on this session. This should use a bitmask of the available actions. <ul> <li> PlaybackState#ACTION_SKIP_TO_PREVIOUS</li> <li> PlaybackState#ACTION_REWIND</li> <li> PlaybackState#ACTION_PLAY</li> <li> PlaybackState#ACTION_PAUSE</li> <li> PlaybackState#ACTION_STOP</li> <li> PlaybackState#ACTION_FAST_FORWARD</li> <li> PlaybackState#ACTION_SKIP_TO_NEXT</li> <li> PlaybackState#ACTION_SEEK_TO</li> <li> PlaybackState#ACTION_SET_RATING</li> <li> PlaybackState#ACTION_PLAY_PAUSE</li> <li> PlaybackState#ACTION_PLAY_FROM_MEDIA_ID</li> <li> PlaybackState#ACTION_PLAY_FROM_SEARCH</li> <li> PlaybackState#ACTION_SKIP_TO_QUEUE_ITEM</li> <li> PlaybackState#ACTION_PLAY_FROM_URI</li> <li> PlaybackState#ACTION_PREPARE</li> <li> PlaybackState#ACTION_PREPARE_FROM_MEDIA_ID</li> <li> PlaybackState#ACTION_PREPARE_FROM_SEARCH</li> <li> PlaybackState#ACTION_PREPARE_FROM_URI</li> <li> PlaybackState#ACTION_SET_PLAYBACK_SPEED</li> </ul>

Java documentation for android.media.session.PlaybackState.getActions().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to