Package-level declarations

This package contains wrappers for views that require Bluetooth and Location.

Types

Link copied to clipboard

The reason why the BLE permission is not available.

Functions

Link copied to clipboard
fun RequireBluetooth(onChanged: (Boolean) -> Unit = {}, contentWithoutBluetooth: @Composable (BlePermissionNotAvailableReason) -> Unit = { NoBluetoothView(reason = it) }, content: @Composable () -> Unit)

A wrapper for composables that require Bluetooth.

Link copied to clipboard
fun RequireLocation(onChanged: (Boolean) -> Unit = {}, contentWithoutLocation: @Composable () -> Unit = { LocationPermissionRequiredView() }, content: @Composable (isLocationRequiredAndDisabled: Boolean) -> Unit)

A wrapper for composables that require Location.