Run RF requests asynchronously and deliver completions on the UI thread.
More...
|
| None | load (self, Callable[[RfHardwareConfig], None] on_success, Callable[[str], None] on_error) |
| | Request the current receiver configuration asynchronously.
|
| None | apply (self, RfHardwareConfig config, Callable[[], None] on_success, Callable[[str], None] on_error) |
| | Apply receiver configuration asynchronously.
|
Run RF requests asynchronously and deliver completions on the UI thread.
◆ apply()
| None ui.radio.rf_hardware_config_if.RfHardwareConfigIf.apply |
( |
| self, |
|
|
RfHardwareConfig | config, |
|
|
Callable[[], None] | on_success, |
|
|
Callable[[str], None] | on_error ) |
Apply receiver configuration asynchronously.
- Parameters
-
| config | Requested receiver settings. |
| on_success | Callback invoked on successful application. |
| on_error | Callback receiving an error message. |
◆ load()
| None ui.radio.rf_hardware_config_if.RfHardwareConfigIf.load |
( |
| self, |
|
|
Callable[[RfHardwareConfig], None] | on_success, |
|
|
Callable[[str], None]
| on_error ) |
Request the current receiver configuration asynchronously.
- Parameters
-
| on_success | Callback receiving the configuration. |
| on_error | Callback receiving an error message. |
The documentation for this class was generated from the following file:
- ui/radio/rf_hardware_config_if.py