apidocs / com.nimmsta.core.android.bluetooth / NIMMSTABLEScanner / checkSupportedOrThrow

checkSupportedOrThrow

fun checkSupportedOrThrow(): Unit

Checks if it is currently supported to add a new ScanJob. Should throw exceptions if not. Optionally implement this.

Exceptions

BluetoothNotSupportedException - if bluetooth is not supported

BluetoothNotInitializedException - if bluetooth is disabled

LocationServicesNotEnabledException - if location services are disabled

BluetoothPermissionException - if permissions are missing