Class SearchCommand
Definition
- Namespace:
- Tizen.Multimedia.Remoting
- Assembly:
- Tizen.Multimedia.Remoting.dll
Provides a means to to send search commands.
public sealed class SearchCommand : Command
- Inheritance
Constructors
View SourceSearchCommand(List<MediaControlSearchCondition>)
Initializes a new instance of the SearchCommand class.
Declaration
public SearchCommand(List<MediaControlSearchCondition> conditions)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<T><MediaControlSearchCondition> | conditions | The set of MediaControlSearchCondition. |
Remarks
User can search maximum 20 items once.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentException |
|
System.InvalidOperationException | An internal error occurs. |
SearchCommand(MediaControlSearchCondition)
Initializes a new instance of the SearchCommand class.
Declaration
public SearchCommand(MediaControlSearchCondition condition)
Parameters
Type | Name | Description |
---|---|---|
MediaControlSearchCondition | condition | The set of MediaControlSearchCondition. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.InvalidOperationException | An internal error occurs. |
Properties
View SourceConditions
Gets or sets the search conditions.
Declaration
public IEnumerable<MediaControlSearchCondition> Conditions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><MediaControlSearchCondition> |
Remarks
This property is used by MediaControlServer.
Methods
View SourceOnResponseCompleted()
Represents a method that is called when an response command completes.
Declaration
protected override void OnResponseCompleted()