DsmccResponse Constructors
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.
Overloads
| Name | Description |
|---|---|
| DsmccResponse(Int32, Int32, Int32, ParcelFileDescriptor) |
Constructs a BIOP file message response. |
| DsmccResponse(Int32, Int32, Int32, Boolean, IList<String>) |
Constructs a BIOP service gateway or directory message response. |
| DsmccResponse(Int32, Int32, Int32, Int32[], String[]) |
Constructs a BIOP stream message response. |
DsmccResponse(Int32, Int32, Int32, ParcelFileDescriptor)
Constructs a BIOP file message response.
[Android.Runtime.Register(".ctor", "(IIILandroid/os/ParcelFileDescriptor;)V", "", ApiSince=33)]
public DsmccResponse(int requestId, int sequence, int responseResult, Android.OS.ParcelFileDescriptor? file);
[<Android.Runtime.Register(".ctor", "(IIILandroid/os/ParcelFileDescriptor;)V", "", ApiSince=33)>]
new Android.Media.TV.DsmccResponse : int * int * int * Android.OS.ParcelFileDescriptor -> Android.Media.TV.DsmccResponse
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
- file
- ParcelFileDescriptor
The file descriptor stored for the file response.
- Attributes
Remarks
Constructs a BIOP file message response.
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
DsmccResponse(Int32, Int32, Int32, Boolean, IList<String>)
Constructs a BIOP service gateway or directory message response.
[Android.Runtime.Register(".ctor", "(IIIZLjava/util/List;)V", "", ApiSince=33)]
public DsmccResponse(int requestId, int sequence, int responseResult, bool isServiceGateway, System.Collections.Generic.IList<string>? childList);
[<Android.Runtime.Register(".ctor", "(IIIZLjava/util/List;)V", "", ApiSince=33)>]
new Android.Media.TV.DsmccResponse : int * int * int * bool * System.Collections.Generic.IList<string> -> Android.Media.TV.DsmccResponse
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
- isServiceGateway
- Boolean
true to select the service-gateway message type; false to select the directory message type.
- Attributes
Remarks
Constructs a BIOP service gateway or directory message response.
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
DsmccResponse(Int32, Int32, Int32, Int32[], String[])
Constructs a BIOP stream message response.
[Android.Runtime.Register(".ctor", "(III[I[Ljava/lang/String;)V", "", ApiSince=33)]
public DsmccResponse(int requestId, int sequence, int responseResult, int[]? eventIds, string[]? eventNames);
[<Android.Runtime.Register(".ctor", "(III[I[Ljava/lang/String;)V", "", ApiSince=33)>]
new Android.Media.TV.DsmccResponse : int * int * int * int[] * string[] -> Android.Media.TV.DsmccResponse
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
- eventIds
- Int32[]
The event identifiers to store; this array and eventNames must both be null or have equal lengths.
- eventNames
- String[]
The event names to store; this array and eventIds must both be null or have equal lengths.
- Attributes
Remarks
Constructs a BIOP stream message response.
The current stream message response does not support other stream messages types than stream event message type.
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.