RemoteController.ClientPlaybackStateUpdateEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.