authorizationStatus
TypeScriptstatic authorizationStatus(): CBPeripheralManagerAuthorizationStatusSwift declarationclass func authorizationStatus() -> CBPeripheralManagerAuthorizationStatusclass · iOS 6.0+ · SDK 27.1
class CBPeripheralManagerstatic authorizationStatus(): CBPeripheralManagerAuthorizationStatusSwift declarationclass func authorizationStatus() -> CBPeripheralManagerAuthorizationStatusadd(service: CBMutableService): voidSwift declarationfunc add(_ service: CBMutableService)static init(): CBPeripheralManagerSwift declarationconvenience init()static initDelegateQueue(delegate?: (Implements<CBPeripheralManagerDelegate> | SDKHandle) | null, queue?: (_Dispatch_DispatchQueue) | null): CBPeripheralManagerSwift declarationconvenience init(delegate: (any CBPeripheralManagerDelegate)?, queue: dispatch_queue_t?)static initDelegateQueueOptions(delegate?: (Implements<CBPeripheralManagerDelegate> | SDKHandle) | null, queue?: (_Dispatch_DispatchQueue) | null, options?: (Record<string, unknown>) | null): CBPeripheralManagerSwift declarationinit(delegate: (any CBPeripheralManagerDelegate)?, queue: dispatch_queue_t?, options: [String : Any]? = nil)publishL2CAPChannel(encryptionRequired: boolean): voidSwift declarationfunc publishL2CAPChannel(withEncryption encryptionRequired: Bool)removeAllServices(): voidSwift declarationfunc removeAllServices()remove(service: CBMutableService): voidSwift declarationfunc remove(_ service: CBMutableService)respond(request: CBATTRequest, result: CBATTError_Code): voidSwift declarationfunc respond(to request: CBATTRequest, withResult result: CBATTError.Code)setDesiredConnectionLatency(latency: CBPeripheralManagerConnectionLatency, central: CBCentral): voidSwift declarationfunc setDesiredConnectionLatency(_ latency: CBPeripheralManagerConnectionLatency, for central: CBCentral)startAdvertising(advertisementData?: (Record<string, unknown>) | null): voidSwift declarationfunc startAdvertising(_ advertisementData: [String : Any]?)stopAdvertising(): voidSwift declarationfunc stopAdvertising()unpublishL2CAPChannel(PSM: number): voidSwift declarationfunc unpublishL2CAPChannel(_ PSM: CBL2CAPPSM)updateValue(value: ArrayBuffer, characteristic: CBMutableCharacteristic, centrals?: (Array<CBCentral>) | null): booleanSwift declarationfunc updateValue(_ value: Data, for characteristic: CBMutableCharacteristic, onSubscribedCentrals centrals: [CBCentral]?) -> Boolget delegate(): (SDKHandle) | nullSwift declarationweak var delegate: (any CBPeripheralManagerDelegate)? { get set }set delegate(value: (Implements<CBPeripheralManagerDelegate> | SDKHandle) | null)Swift declarationweak var delegate: (any CBPeripheralManagerDelegate)? { get set }get isAdvertising(): booleanSwift declarationvar isAdvertising: Bool { get }No declarations were skipped in this snapshot.