Package: android.hardware.broadcastradio@1.0

IBroadcastRadioFactory

interface IBroadcastRadioFactory

Methods

connectModule

connectModule (Class classId)
generates (Result retval, IBroadcastRadio result)

Connects to a broadcast radio HAL module for a given class(AM/FM, Satellite, DAB).

Details
Parameters
classId
Class of the module to connect to.
Generates
retval
operation completion status.Returns INVALID_ARGUMENTS if there is no corresponding hardware module found, NOT_INITIALIZED if an error occurred while opening the hardware module.
result
the interface for the created module.