Companion

object Companion

Functions

Link copied to clipboard
@RequiresApi(value = 31)
@RequiresPermission(allOf = ["android.permission.BLUETOOTH_CONNECT", "android.permission.BLUETOOTH_SCAN"])
fun NavHostController.useLoginNavHost(modifier: Modifier = Modifier, onLoginSuccess: () -> Unit, navViewSystemWithDrawer: @Composable () -> Unit)
Link copied to clipboard
@RequiresApi(value = 33)
@RequiresPermission(allOf = ["android.permission.BLUETOOTH_CONNECT", "android.permission.BLUETOOTH_SCAN"])
fun NavHostController.useMainNavHost(modifier: Modifier = Modifier, mutableFloatingButtonBuilder: MutableFloatingButtonBuilder, signOut: () -> Unit, onHomeDeviceClick: (BluetoothDeviceWithConfig) -> Unit, onAccountDeviceClick: (BluetoothDeviceWithConfig) -> Unit = onHomeDeviceClick)