Class PlaylistCommand

Definition

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

Provides a means to send playback command with playlist information.

C#
Copy
public sealed class PlaylistCommand : Command
Inheritance
PlaylistCommand

Constructors

View Source

PlaylistCommand(MediaControlPlaybackCommand, String, String)

Initializes a new instance of the PlaybackCommand class.

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

A MediaControlPlaybackCommand.

System.String playlistName

The playlist name of the server.

System.String index

The index of the media in the playlist.

Exceptions
Type Condition
ArgumentNullException

playlistName or index is null.

API Level: 5
View Source

PlaylistCommand(MediaControlPlaybackCommand, String, String, UInt64)

Initializes a new instance of the PlaybackCommand class.

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

A MediaControlPlaybackCommand.

System.String playlistName

The playlist name of the server.

System.String index

The index of the media in the playlist.

UInt64 position

The playback position in milliseconds.

Exceptions
Type Condition
System.ArgumentException

actionis not valid.

ArgumentNullException

playlistName or index is null.

API Level: 5

Properties

View Source

Action

Gets the playback action.

Declaration
C#
Copy
public MediaControlPlaybackCommand Action { get; }
Property Value
Type Description
MediaControlPlaybackCommand
API Level: 5
View Source

Index

Gets the index of playlist.

Declaration
C#
Copy
public string Index { get; }
Property Value
Type Description
System.String
API Level: 5
View Source

Name

Gets the name of playlist.

Declaration
C#
Copy
public string Name { get; }
Property Value
Type Description
System.String
API Level: 5
View Source

Position

Gets the position to play.

Declaration
C#
Copy
public ulong Position { get; }
Property Value
Type Description
UInt64
API Level: 5