CommandResponse(Int32, Int32, Int32, String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a command response with the supplied response strings.
[Android.Runtime.Register(".ctor", "(IIILjava/lang/String;Ljava/lang/String;)V", "", ApiSince=33)]
public CommandResponse(int requestId, int sequence, int responseResult, string? response, string responseType);
[<Android.Runtime.Register(".ctor", "(IIILjava/lang/String;Ljava/lang/String;)V", "", ApiSince=33)>]
new Android.Media.TV.CommandResponse : int * int * int * string * string -> Android.Media.TV.CommandResponse
Parameters
- requestId
- Int32
The identifier passed to the broadcast response.
- sequence
- Int32
The sequence number passed to the broadcast response.
- responseResult
- Int32
Value is one of the following: BroadcastInfoResponse.RESPONSE_RESULT_ERROR; BroadcastInfoResponse.RESPONSE_RESULT_OK; BroadcastInfoResponse.RESPONSE_RESULT_CANCEL
- response
- String
The response string stored in the response.
- responseType
- String
The response-type string stored in the response.
- Attributes
Remarks
Android reference for android.media.tv.CommandResponse.CommandResponse.
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.