AuthorizeBluetooth
public class AuthorizeBluetooth : NSObject, AuthorizeProtocol, CBCentralManagerDelegate, @unchecked Sendable
蓝牙授权
-
Undocumented
Declaration
Swift
public static let shared: AuthorizeBluetooth
-
Declaration
Swift
public func authorizeStatus() -> AuthorizeStatus
-
Declaration
Swift
public func requestAuthorize(_ completion: (@MainActor @Sendable (AuthorizeStatus, Error?) -> Void)?)
-
Undocumented
Declaration
Swift
public func centralManagerDidUpdateState(_ central: CBCentralManager)