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
Constructors
View SourcePlaylistCommand(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 | |
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 |
|
System.ArgumentNullException |
|
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 | |
string | playlistName | The playlist name of the server. |
string | index | The index of the media in the playlist. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Properties
View SourceAction
Gets the playback action.
Declaration
public MediaControlPlaybackCommand Action { get; }
Property Value
Type | Description |
---|---|
MediaControlPlaybackCommand |
Index
Gets the index of playlist.
Declaration
public string Index { get; }
Property Value
Type | Description |
---|---|
string |
Name
Gets the name of playlist.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
Position
Gets the position to play.
Declaration
public ulong Position { get; }
Property Value
Type | Description |
---|---|
ulong |