Android.Media.RemoteControlClient.SetPlaybackState Method
Sets the current playback state.

Syntax

[Android.Runtime.Register("setPlaybackState", "(I)V", "GetSetPlaybackState_IHandler")]
public virtual void SetPlaybackState ([Android.Runtime.GeneratedEnum] RemoteControlPlayState state)

Parameters

state
The current playback state, one of the following values: RemoteControlClient.PlaystateStopped, RemoteControlClient.PlaystatePaused, RemoteControlClient.PlaystatePlaying, RemoteControlClient.PlaystateFastForwarding, RemoteControlClient.PlaystateRewinding, RemoteControlClient.PlaystateSkippingForwards, RemoteControlClient.PlaystateSkippingBackwards, RemoteControlClient.PlaystateBuffering, RemoteControlClient.PlaystateError.

Remarks

Sets the current playback state.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14