Package: android.hardware.broadcastradio@1.1

types

Properties

Result

typedef @1.0::Result Result

ProgramListResult

enum ProgramListResult: Result
Details
Members
NOT_READY
NOT_STARTED
TEMPORARILY_UNAVAILABLE

ProgramInfoFlags

enum ProgramInfoFlags: uint32_t

Extra flags for program information.

Details
Members
LIVE = 1 << 0
Set when the program is currently playing live stream.This may result in a slightly altered reception parameters, usually targetted at reduced latency.
MUTED = 1 << 1
Radio stream is not playing, ie.due to bad reception conditions or buffering.In this state volume knob MAY be disabled to prevent user increasing volume too much.

Properties

struct Properties {@ base; bool supportsBackgroundScanning}
Details
Members
base
supportsBackgroundScanning
The hardware supports background scanning in general.At the given time it may not be available though, see startBackgroundScan.

ProgramInfo

struct ProgramInfo {@ base; bitfield flags; uint32_t vendorFlags}

Radio program information.Returned by the HAL with event RADIO_EVENT_TUNED.Contains information on currently tuned channel.

Details
Members
base
flags
vendorFlags
Vendors are allowed to define their own set of flags and store it in this field.They MUST verify vendor/product name from Properties struct(IBroadcastRadio::getProperties)before doing any interpretation of such values.