Added in API level 33

BroadcastInfoRequest


abstract class BroadcastInfoRequest : Parcelable
CommandRequest

A request for command from broadcast signal.

DsmccRequest

A request for DSM-CC from broadcast signal.

PesRequest

A request for PES from broadcast signal.

SectionRequest

A request for Section from broadcast signal.

SignalingDataRequest

Request to retrieve the Low-level Signalling Tables (LLS) and Service-layer Signalling (SLS) metadata.

StreamEventRequest

A request for Stream Event from broadcast signal.

TableRequest

A request for Table from broadcast signal.

TimelineRequest

A request for Timeline from broadcast signal.

TsRequest

A request for TS (transport stream) from broadcast signal.

A request for the information retrieved from broadcast signal.

Summary

Constants
static Int

Request option: auto update.

static Int

Request option: one-shot

static Int

Request option: one-way

static Int

Request option: repeat.

Inherited constants
Int CONTENTS_FILE_DESCRIPTOR

Descriptor bit used with describeContents(): indicates that the Parcelable object's flattened representation includes a file descriptor.

Int PARCELABLE_WRITE_RETURN_VALUE

Flag for use with writeToParcel: the object being written is a return value, that is the result of a function such as "Parcelable someFunction()", "void someFunction(out Parcelable)", or "void someFunction(inout Parcelable)". Some implementations may want to release resources at this point.

Public methods
open Int

open Int

Gets the request option of the request.

open Int

Gets the ID of the request.

open Int

Gets the broadcast info type.

open Unit
writeToParcel(dest: Parcel, flags: Int)

Flatten this object in to a Parcel.

Constants

REQUEST_OPTION_AUTO_UPDATE

Added in API level 33
static val REQUEST_OPTION_AUTO_UPDATE: Int

Request option: auto update.

With this option, a response is sent only when broadcast information is detected for the first time, new values are detected.

Value: 1

REQUEST_OPTION_ONESHOT

static val REQUEST_OPTION_ONESHOT: Int

Request option: one-shot

With this option, only one response will be given per request.

Value: 3

REQUEST_OPTION_ONEWAY

static val REQUEST_OPTION_ONEWAY: Int

Request option: one-way

With this option, no response is expected after sending the request.

Value: 2

REQUEST_OPTION_REPEAT

Added in API level 33
static val REQUEST_OPTION_REPEAT: Int

Request option: repeat.

With this option, a response is sent when related broadcast information is detected, even if the same information has been sent previously.

Value: 0

Public methods

describeContents

Added in API level 33
open fun describeContents(): Int
Return
Int a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR

getRequestId

Added in API level 33
open fun getRequestId(): Int

Gets the ID of the request.

The ID is used to associate the response with the request.

getType

Added in API level 33
open fun getType(): Int

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.

writeToParcel

Added in API level 33
open fun writeToParcel(
    dest: Parcel,
    flags: Int
): Unit

Flatten this object in to a Parcel.

Parameters
dest Parcel: This value cannot be null.
flags Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE. Value is either 0 or a combination of android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE, and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES

Properties

CREATOR

Added in API level 33
static val CREATOR: Parcelable.Creator<BroadcastInfoRequest!>