Class CustomCommand
Definition
- Namespace:
- Tizen.Multimedia.Remoting
- Assembly:
- Tizen.Multimedia.Remoting.dll
Provides a means to to send custom commands.
public sealed class CustomCommand : Command
- Inheritance
Remarks
This command can be used by both client and server to send predefined command or data.
Constructors
View SourceCustomCommand(string, Bundle)
Initializes a new instance of the CustomCommand class.
Declaration
public CustomCommand(string action, Bundle bundle)
Parameters
Type | Name | Description |
---|---|---|
string | action | A predefined custom command. |
Bundle | bundle | The extra data for custom command. |
Remarks
This command can be used by both client and server to send predefined command or data.
CustomCommand(string)
Initializes a new instance of the CustomCommand class.
Declaration
public CustomCommand(string action)
Parameters
Type | Name | Description |
---|---|---|
string | action | A predefined custom command. |
Remarks
This command can be used by both client and server to send predefined command or data.
Properties
View SourceAction
Gets the custom action.
Declaration
public string Action { get; }
Property Value
Type | Description |
---|---|
string |
Remarks
This command can be used by both client and server to send predefined command or data.
Bundle
Gets the extra data.
Declaration
public Bundle Bundle { get; }
Property Value
Type | Description |
---|---|
Bundle |
Remarks
This command can be used by both client and server to send predefined command or data.