Class SearchCommand

Definition

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

Provides a means to to send search commands.

C#
Copy
public sealed class SearchCommand : Command
Inheritance
System.Object
SearchCommand

Constructors

View Source

SearchCommand(List<MediaControlSearchCondition>)

Initializes a new instance of the SearchCommand class.

Declaration
C#
Copy
public SearchCommand(List<MediaControlSearchCondition> conditions)
Parameters
Type Name Description
System.Collections.Generic.List<MediaControlSearchCondition> conditions

The set of MediaControlSearchCondition.

Remarks

User can search maximum 20 items once.

Exceptions
Type Condition
System.ArgumentNullException

conditions is not set.

System.ArgumentException

conditions.Count.Count is greater than maximum value(20).
-or-
conditions.Count.Count is less than 1.

System.InvalidOperationException

An internal error occurs.

API Level: 5
View Source

SearchCommand(MediaControlSearchCondition)

Initializes a new instance of the SearchCommand class.

Declaration
C#
Copy
public SearchCommand(MediaControlSearchCondition condition)
Parameters
Type Name Description
MediaControlSearchCondition condition

The set of MediaControlSearchCondition.

Exceptions
Type Condition
System.ArgumentNullException

condition is not set.

System.InvalidOperationException

An internal error occurs.

API Level: 5

Properties

View Source

Conditions

Gets or sets the search conditions.

Declaration
C#
Copy
public IEnumerable<MediaControlSearchCondition> Conditions { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<MediaControlSearchCondition>
Remarks

This property is used by MediaControlServer.

API Level: 5

Methods

View Source

OnResponseCompleted()

Represents a method that is called when an response command completes.

Declaration
C#
Copy
protected override void OnResponseCompleted()
Overrides
API Level: 5