Class PlaylistCommand

    Definition

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

    Provides a means to send playback command with playlist information.

    public sealed class PlaylistCommand : Command
    Inheritance
    object
    Command
    PlaylistCommand

    Constructors

    View Source

    PlaylistCommand(MediaControlPlaybackCommand, string, string, ulong)

    Initializes a new instance of the PlaybackCommand class.

    Declaration
    public PlaylistCommand(MediaControlPlaybackCommand action, string playlistName, string index, ulong position)
    Parameters
    Type Name Description
    MediaControlPlaybackCommand action

    A MediaControlPlaybackCommand.

    string playlistName

    The playlist name of the server.

    string index

    The index of the media in the playlist.

    ulong position

    The playback position in milliseconds.

    Exceptions
    Type Condition
    System.ArgumentException

    actionis not valid.

    System.ArgumentNullException

    playlistName or index is null.

    View Source

    PlaylistCommand(MediaControlPlaybackCommand, string, string)

    Initializes a new instance of the PlaybackCommand class.

    Declaration
    public PlaylistCommand(MediaControlPlaybackCommand action, string playlistName, string index)
    Parameters
    Type Name Description
    MediaControlPlaybackCommand action

    A MediaControlPlaybackCommand.

    string playlistName

    The playlist name of the server.

    string index

    The index of the media in the playlist.

    Exceptions
    Type Condition
    System.ArgumentNullException

    playlistName or index is null.

    Properties

    View Source

    Action

    Gets the playback action.

    Declaration
    public MediaControlPlaybackCommand Action { get; }
    Property Value
    Type Description
    MediaControlPlaybackCommand
    View Source

    Index

    Gets the index of playlist.

    Declaration
    public string Index { get; }
    Property Value
    Type Description
    string
    View Source

    Name

    Gets the name of playlist.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    string
    View Source

    Position

    Gets the position to play.

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