Class PlaybackStateUpdatedEventArgs

    Definition

    Namespace:
    Tizen.Multimedia.Remoting
    Assembly:
    Tizen.Multimedia.Remoting.dll

    Provides data for the PlaybackStateUpdated event.

    public class PlaybackStateUpdatedEventArgs : EventArgs
    Inheritance
    object
    System.EventArgs
    PlaybackStateUpdatedEventArgs

    Constructors

    View Source

    PlaybackStateUpdatedEventArgs(MediaControlPlaybackState, long)

    Initializes a new instance of the PlaybackStateUpdatedEventArgs class.

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

    The playback state.

    long position

    The playback position in milliseconds.

    Exceptions
    Type Condition
    System.ArgumentException

    state is invalid.

    System.ArgumentOutOfRangeException

    position is less than zero.

    Properties

    View Source

    Position

    Gets the playback position in milliseconds.

    Declaration
    public long Position { get; }
    Property Value
    Type Description
    long
    View Source

    State

    Gets the playback state.

    Declaration
    public MediaControlPlaybackState State { get; }
    Property Value
    Type Description
    MediaControlPlaybackState
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX