语言

CommandRequest(Int32, Int32, String, String, String, String) Constructor

Definition

Creates a command request with the supplied command strings.

[Android.Runtime.Register(".ctor", "(IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=33)]
public CommandRequest(int requestId, int option, string namespace, string name, string arguments, string argumentType);
[<Android.Runtime.Register(".ctor", "(IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=33)>]
new Android.Media.TV.CommandRequest : int * int * string * string * string * string -> Android.Media.TV.CommandRequest

Parameters

requestId
Int32

The identifier passed to the broadcast request.

option
Int32

Value is one of the following: BroadcastInfoRequest.REQUEST_OPTION_REPEAT; BroadcastInfoRequest.REQUEST_OPTION_AUTO_UPDATE; BroadcastInfoRequest.REQUEST_OPTION_ONEWAY; BroadcastInfoRequest.REQUEST_OPTION_ONESHOT

namespace
String

The namespace string stored in the request.

name
String

The command name stored in the request.

arguments
String

The argument string stored in the request.

argumentType
String

The argument-type string stored in the request.

Attributes

Remarks

Android reference for android.media.tv.CommandRequest.CommandRequest.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to