BluetoothManagerAuthorization
@available(iOS 13.0, *)
public enum BluetoothManagerAuthorization : Int, Sendable
Represents the current Bluetooth authorization state for BluetoothManager
.
Use this enum to determine if the app is authorized to use Bluetooth features.
See also
CBManagerAuthorization
-
The user has not yet made a choice regarding Bluetooth access for this application.
Declaration
Swift
case notDetermined = 0
-
This application is not authorized to use Bluetooth, and the user cannot change this status (possibly due to parental controls or device policy).
Declaration
Swift
case restricted
-
The user has explicitly denied this application access to Bluetooth.
Declaration
Swift
case denied
-
The user has authorized this application to always use Bluetooth.
Declaration
Swift
case allowedAlways