public interface ICallback
You need to implement this interface for
RadioManager.step(DirectionType, ICallback),
RadioManager.seek(DirectionType, ICallback),
RadioManager.tune(int, ICallback) methods.
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
onChange(ProgramInfo info) |
Called when the radio is successfully set.
|
void |
onFailed(ProgramInfo selector) |
Called when radio setting fails.
|
void onChange(ProgramInfo info)
info - Indicates information about the radio program to search,
including the signal strength, signal frequency, stereo, and whether
the signal strength meets the threshold.void onFailed(ProgramInfo selector)
selector - Indicates information about the radio program to search,
including the signal strength, signal frequency, stereo, and whether the
signal strength meets the threshold.