cancelChannelSoundingSession
TypeScriptcancelChannelSoundingSession(): voidSwift declarationfunc cancelChannelSoundingSession()class · iOS 5.0+ · SDK 27.1
class CBPeripheralcancelChannelSoundingSession(): voidSwift declarationfunc cancelChannelSoundingSession()discoverCharacteristics(characteristicUUIDs: (Array<CBUUID>) | null, service: CBService): voidSwift declarationfunc discoverCharacteristics(_ characteristicUUIDs: [CBUUID]?, for service: CBService)discoverDescriptors(characteristic: CBCharacteristic): voidSwift declarationfunc discoverDescriptors(for characteristic: CBCharacteristic)discoverIncludedServices(includedServiceUUIDs: (Array<CBUUID>) | null, service: CBService): voidSwift declarationfunc discoverIncludedServices(_ includedServiceUUIDs: [CBUUID]?, for service: CBService)discoverServices(serviceUUIDs?: (Array<CBUUID>) | null): voidSwift declarationfunc discoverServices(_ serviceUUIDs: [CBUUID]?)maximumWriteValueLength(type: CBCharacteristicWriteType): numberSwift declarationfunc maximumWriteValueLength(for type: CBCharacteristicWriteType) -> IntopenL2CAPChannel(PSM: number): voidSwift declarationfunc openL2CAPChannel(_ PSM: CBL2CAPPSM)readRSSI(): voidSwift declarationfunc readRSSI()readValueFor(characteristic: CBCharacteristic): voidSwift declarationfunc readValue(for characteristic: CBCharacteristic)readValueFor17880(descriptor: CBDescriptor): voidSwift declarationfunc readValue(for descriptor: CBDescriptor)setNotifyValue(enabled: boolean, characteristic: CBCharacteristic): voidSwift declarationfunc setNotifyValue(_ enabled: Bool, for characteristic: CBCharacteristic)startChannelSoundingSession(configuration: CBChannelSoundingSessionConfiguration): voidSwift declarationfunc startChannelSoundingSession(_ configuration: CBChannelSoundingSessionConfiguration)writeValueForType(data: ArrayBuffer, characteristic: CBCharacteristic, type: CBCharacteristicWriteType): voidSwift declarationfunc writeValue(_ data: Data, for characteristic: CBCharacteristic, type: CBCharacteristicWriteType)writeValueFor(data: ArrayBuffer, descriptor: CBDescriptor): voidSwift declarationfunc writeValue(_ data: Data, for descriptor: CBDescriptor)get rssi(): (_Foundation_NSNumber) | nullSwift declarationvar rssi: NSNumber? { get }get ancsAuthorized(): booleanSwift declarationvar ancsAuthorized: Bool { get }get canSendWriteWithoutResponse(): booleanSwift declarationvar canSendWriteWithoutResponse: Bool { get }get delegate(): (SDKHandle) | nullSwift declarationweak var delegate: (any CBPeripheralDelegate)? { get set }set delegate(value: (Implements<CBPeripheralDelegate> | SDKHandle) | null)Swift declarationweak var delegate: (any CBPeripheralDelegate)? { get set }get name(): (string) | nullSwift declarationvar name: String? { get }get services(): (Array<CBService>) | nullSwift declarationvar services: [CBService]? { get }get state(): CBPeripheralStateSwift declarationvar state: CBPeripheralState { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
CBPeripheral.init()
inherited init: clang: 'init' is unavailable