Class MediaControlPlaylist

Definition

Namespace:
Tizen.Multimedia.Remoting
Assembly:
Tizen.Multimedia.Remoting.dll
API Level:
5

Represents playlist for media control.

C#
Copy
public class MediaControlPlaylist : IDisposable
Inheritance
MediaControlPlaylist

Constructors

View Source

MediaControlPlaylist(String)

Initializes a new instance of the MediaControlPlaylist class.

Declaration
C#
Copy
public MediaControlPlaylist(string name)
Parameters
Type Name Description
String name

The name of this playlist.

API Level: 5
View Source

MediaControlPlaylist(String, Dictionary<String, MediaControlMetadata>)

Initializes a new instance of the MediaControlPlaylist class.

Declaration
C#
Copy
public MediaControlPlaylist(string name, Dictionary<string, MediaControlMetadata> metadata)
Parameters
Type Name Description
String name

The name of this playlist.

Dictionary<String, MediaControlMetadata> metadata

The metadata of this playlist.

API Level: 5

Properties

View Source

Name

Gets or sets the name of playlist.

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

TotalCount

Gets the total number of media in this playlist.

Declaration
C#
Copy
public int TotalCount { get; }
Property Value
Type Description
Int32

Methods

View Source

AddMetadata(Dictionary<String, MediaControlMetadata>)

Sets the metadata to the playlist.

Declaration
C#
Copy
public void AddMetadata(Dictionary<string, MediaControlMetadata> metadata)
Parameters
Type Name Description
Dictionary<String, MediaControlMetadata> metadata

The metadata of media.

API Level: 5
View Source

AddMetadata(String, MediaControlMetadata)

Sets the metadata to the playlist.

Declaration
C#
Copy
public void AddMetadata(string index, MediaControlMetadata metadata)
Parameters
Type Name Description
String index

The index of media in the playlist.

MediaControlMetadata metadata

The metadata of media.

API Level: 5
View Source

Dispose()

Releases the unmanaged resources used by the MediaControlPlaylist.

Declaration
C#
Copy
public void Dispose()
API Level: 5
View Source

Dispose(Boolean)

Releases the resources used by the Recorder.

Declaration
C#
Copy
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
Boolean disposing

true to release both managed and unmanaged resources; false to release only unmanaged resources.

API Level: 3
View Source

Finalize()

Finalizes an instance of the MediaControlPlaylist class.

Declaration
C#
Copy
protected void Finalize()
API Level: 5
View Source

GetMetadata()

Gets the playlist index and metadata pair.

Declaration
C#
Copy
public Dictionary<string, MediaControlMetadata> GetMetadata()
Returns
Type Description
Dictionary<String, MediaControlMetadata>

The dictionary set of index and MediaControlMetadata pair.

View Source

GetMetadata(String)

Gets the metadata by index.

Declaration
C#
Copy
public MediaControlMetadata GetMetadata(string index)
Parameters
Type Name Description
String index

The index of media in the playlist.

Returns
Type Description
MediaControlMetadata

A MediaControlMetadata instance.

View Source

Update()

Update the playlist by latest info.

Declaration
C#
Copy
public void Update()
API Level: 5

Extension Methods