Lingua

StreamEventResponse(Int32, Int32, Int32, Int32, Int64, Byte[]) Constructor

Definition

Creates a stream-event response with the supplied event identifier, NPT, and data.

[Android.Runtime.Register(".ctor", "(IIIIJ[B)V", "", ApiSince=33)]
public StreamEventResponse(int requestId, int sequence, int responseResult, int eventId, long nptMillis, byte[]? data);
[<Android.Runtime.Register(".ctor", "(IIIIJ[B)V", "", ApiSince=33)>]
new Android.Media.TV.StreamEventResponse : int * int * int * int * int64 * byte[] -> Android.Media.TV.StreamEventResponse

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

eventId
Int32

The event identifier stored in the response.

nptMillis
Int64

The NPT value, in milliseconds, stored in the response.

data
Byte[]

The event-data array stored in the response.

Attributes

Remarks

Android reference for android.media.tv.StreamEventResponse.StreamEventResponse.

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