Språk

RemoteController.ClientPlaybackStateUpdateEventArgs Constructor

Definition

Creates a remote playback update from the supplied state, timing and speed values.

public ClientPlaybackStateUpdateEventArgs(Android.Media.RemoteControlPlayState state, long stateChangeTimeMs, long currentPosMs, float speed);
new Android.Media.RemoteController.ClientPlaybackStateUpdateEventArgs : Android.Media.RemoteControlPlayState * int64 * int64 * single -> Android.Media.RemoteController.ClientPlaybackStateUpdateEventArgs

Parameters

state
RemoteControlPlayState

The client's reported playback state.

stateChangeTimeMs
Int64

The state-report time, in milliseconds on the elapsed-realtime clock.

currentPosMs
Int64

The reported media position in milliseconds, or a negative value when temporarily unknown.

speed
Single

The playback-speed ratio; one is normal speed, zero is no playback, and negative values indicate reverse playback.

Remarks

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