Optional
requestWhether to request Bluetooth permission if needed.
This controls the behavior when the app hasn't been granted Bluetooth permissions yet:
BLUETOOTH_PERMISSION_NOT_GRANTED
.BLUETOOTH_PERMISSION_NOT_GRANTED
.
The permission can't be requested if the user has denied it twice, or if the PermissionRequester
returns false
.Default: true
.
Optional
requestWhether to request location permission if needed.
This controls the behavior when the app hasn't been granted location permissions yet:
LOCATION_PERMISSION_NOT_GRANTED
.LOCATION_PERMISSION_NOT_GRANTED
.
The permission can't be requested if the user has denied it twice, or if the PermissionRequester
returns false
.Default: true
.
Optional
useWhether to try using the Bluetooth communication method.
If false, it immediately errors with CANCELED
.
Default: true
.
Optional
useWhether to try using the internet communication method.
If false, it immediately errors with CANCELED
.
Default: true
.
Options used to configure the behavior of the
action
method.