Class PlaybackStateUpdatedEventArgs

Definition

Namespace:
Tizen.Multimedia.Remoting
Assembly:
Tizen.Multimedia.Remoting.dll
API Level:
4

Provides data for the PlaybackStateUpdated event.

C#
Copy
public class PlaybackStateUpdatedEventArgs : EventArgs
Inheritance
PlaybackStateUpdatedEventArgs

Constructors

View Source

PlaybackStateUpdatedEventArgs(MediaControlPlaybackState, Int64)

Initializes a new instance of the PlaybackStateUpdatedEventArgs class.

Declaration
C#
Copy
public PlaybackStateUpdatedEventArgs(MediaControlPlaybackState state, long position)
Parameters
Type Name Description
MediaControlPlaybackState state

The playback state.

System.Int64 position

The playback position in milliseconds.

Exceptions
Type Condition
System.ArgumentException

state is invalid.

ArgumentOutOfRangeException

position is less than zero.

API Level: 4

Properties

View Source

Position

Gets the playback position in milliseconds.

Declaration
C#
Copy
public long Position { get; }
Property Value
Type Description
System.Int64
API Level: 4
View Source

State

Gets the playback state.

Declaration
C#
Copy
public MediaControlPlaybackState State { get; }
Property Value
Type Description
MediaControlPlaybackState
API Level: 4