Szerkesztés

Megosztás a következőn keresztül:


CBPeripheralManagerDelegate_Extensions Class

Definition

Extension methods to the ICBPeripheralManagerDelegate interface to support all the methods from the CBPeripheralManagerDelegate protocol.

public static class CBPeripheralManagerDelegate_Extensions
type CBPeripheralManagerDelegate_Extensions = class
Inheritance
CBPeripheralManagerDelegate_Extensions

Remarks

The extension methods for ICBPeripheralManagerDelegate allow developers to treat instances of the interface as having all the optional methods of the original CBPeripheralManagerDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

AdvertisingStarted(ICBPeripheralManagerDelegate, CBPeripheralManager, NSError)
CharacteristicSubscribed(ICBPeripheralManagerDelegate, CBPeripheralManager, CBCentral, CBCharacteristic)
CharacteristicUnsubscribed(ICBPeripheralManagerDelegate, CBPeripheralManager, CBCentral, CBCharacteristic)
DidOpenL2CapChannel(ICBPeripheralManagerDelegate, CBPeripheralManager, CBL2CapChannel, NSError)
DidPublishL2CapChannel(ICBPeripheralManagerDelegate, CBPeripheralManager, UInt16, NSError)
DidUnpublishL2CapChannel(ICBPeripheralManagerDelegate, CBPeripheralManager, UInt16, NSError)
ReadRequestReceived(ICBPeripheralManagerDelegate, CBPeripheralManager, CBATTRequest)
ReadyToUpdateSubscribers(ICBPeripheralManagerDelegate, CBPeripheralManager)
ServiceAdded(ICBPeripheralManagerDelegate, CBPeripheralManager, CBService, NSError)
WillRestoreState(ICBPeripheralManagerDelegate, CBPeripheralManager, NSDictionary)
WriteRequestsReceived(ICBPeripheralManagerDelegate, CBPeripheralManager, CBATTRequest[])

Applies to