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)
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 |
---|---|
ArgumentNullException |
|
API Level: 5
View SourcePlaylistCommand(MediaControlPlaybackCommand, String, String, UInt64)
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. |
UInt64 | position | The playback position in milliseconds. |
Exceptions
Type | Condition |
---|---|
ArgumentException |
|
ArgumentNullException |
|
API Level: 5
Properties
View SourceAction
Gets the playback action.
Declaration
public MediaControlPlaybackCommand Action { get; }
Property Value
Type | Description |
---|---|
MediaControlPlaybackCommand |
API Level: 5
View SourceIndex
Gets the index of playlist.
Declaration
public string Index { get; }
Property Value
Type | Description |
---|---|
String |
API Level: 5
View SourceName
Gets the name of playlist.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String |
API Level: 5
View SourcePosition
Gets the position to play.
Declaration
public ulong Position { get; }
Property Value
Type | Description |
---|---|
UInt64 |