BluetoothConnectivityFrontendExtensionPanelController
The controller which is used by the Bluetooth connectivity frontend to extend its flow with an additional panel.
Functions
Link copied to clipboard
abstract fun createNextPanel(frontendContext: FrontendContext, bluetoothConnectivityFlowState: BluetoothConnectivityFlowState, selectedDeviceAddress: BluetoothDeviceAddress, bluetoothConnectivityFrontendCallbacks: BluetoothConnectivityFrontendCallbacks): BluetoothConnectivityBasePanel
Creates the next panel in the Bluetooth connectivity flow. Called only if needShowNextPanel returned true.
Link copied to clipboard
abstract fun needShowNextPanel(bluetoothConnectivityFlowState: BluetoothConnectivityFlowState, selectedDeviceAddress: BluetoothDeviceAddress): Boolean
Called when a user clicks next on a panel.
Link copied to clipboard
Called when the Bluetooth connectivity frontend is constructed. Useful for service initialization.