StreamEventResponse
class StreamEventResponse : BroadcastInfoResponse, Parcelable
A response for Stream Event from broadcast signal.
Summary
Public methods |
Int |
|
ByteArray? |
Returns the application specific data.
|
Int |
Returns the event ID.
|
Long |
Returns the NPT(Normal Play Time) value when the event occurred or will occur.
|
Unit |
Flatten this object in to a Parcel.
|
Inherited functions |
From class BroadcastInfoResponse
Int |
getRequestId()
Gets the ID of the request.
The ID is used to associate the response with the request.
|
Int |
getResponseResult()
Gets the result for the response.
|
Int |
getSequence()
Gets the sequence number which indicates the order of related responses.
|
Int |
getType()
Gets the broadcast info type.
The type indicates what broadcast information is requested, such as broadcast table, PES (packetized Elementary Stream), TS (transport stream), etc. The type of the request and the related responses should be the same.
|
|
Public constructors
StreamEventResponse
StreamEventResponse(
requestId: Int,
sequence: Int,
responseResult: Int,
eventId: Int,
nptMillis: Long,
data: ByteArray?)
Public methods
describeContents
fun describeContents(): Int
getData
fun getData(): ByteArray?
Returns the application specific data.
getEventId
fun getEventId(): Int
Returns the event ID.
getNptMillis
fun getNptMillis(): Long
Returns the NPT(Normal Play Time) value when the event occurred or will occur.
The time unit of NPT is millisecond.
writeToParcel
fun writeToParcel(
dest: Parcel,
flags: Int
): Unit
Flatten this object in to a Parcel.
Properties
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[]]