Modifica

Condividi tramite


CBPeripheralDelegate_Extensions Class

Definition

Extension methods to the ICBPeripheralDelegate interface to support all the methods from the CBPeripheralDelegate protocol.

public static class CBPeripheralDelegate_Extensions
type CBPeripheralDelegate_Extensions = class
Inheritance
CBPeripheralDelegate_Extensions

Remarks

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

Methods

DidOpenL2CapChannel(ICBPeripheralDelegate, CBPeripheral, CBL2CapChannel, NSError)
DiscoveredCharacteristic(ICBPeripheralDelegate, CBPeripheral, CBService, NSError)
DiscoveredDescriptor(ICBPeripheralDelegate, CBPeripheral, CBCharacteristic, NSError)
DiscoveredIncludedService(ICBPeripheralDelegate, CBPeripheral, CBService, NSError)
DiscoveredService(ICBPeripheralDelegate, CBPeripheral, NSError)
InvalidatedService(ICBPeripheralDelegate, CBPeripheral)

Developers should not use this deprecated method.

IsReadyToSendWriteWithoutResponse(ICBPeripheralDelegate, CBPeripheral)
ModifiedServices(ICBPeripheralDelegate, CBPeripheral, CBService[])
RssiRead(ICBPeripheralDelegate, CBPeripheral, NSNumber, NSError)
RssiUpdated(ICBPeripheralDelegate, CBPeripheral, NSError)
UpdatedCharacterteristicValue(ICBPeripheralDelegate, CBPeripheral, CBCharacteristic, NSError)
UpdatedName(ICBPeripheralDelegate, CBPeripheral)
UpdatedNotificationState(ICBPeripheralDelegate, CBPeripheral, CBCharacteristic, NSError)
UpdatedValue(ICBPeripheralDelegate, CBPeripheral, CBDescriptor, NSError)
WroteCharacteristicValue(ICBPeripheralDelegate, CBPeripheral, CBCharacteristic, NSError)
WroteDescriptorValue(ICBPeripheralDelegate, CBPeripheral, CBDescriptor, NSError)

Applies to