Düzenle

Aracılığıyla paylaş


CBCentralManagerDelegate_Extensions Class

Definition

Extension methods to the ICBCentralManagerDelegate interface to support all the methods from the CBCentralManagerDelegate protocol.

public static class CBCentralManagerDelegate_Extensions
type CBCentralManagerDelegate_Extensions = class
Inheritance
CBCentralManagerDelegate_Extensions

Remarks

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

Methods

ConnectedPeripheral(ICBCentralManagerDelegate, CBCentralManager, CBPeripheral)
DisconnectedPeripheral(ICBCentralManagerDelegate, CBCentralManager, CBPeripheral, NSError)
DiscoveredPeripheral(ICBCentralManagerDelegate, CBCentralManager, CBPeripheral, NSDictionary, NSNumber)
FailedToConnectPeripheral(ICBCentralManagerDelegate, CBCentralManager, CBPeripheral, NSError)
RetrievedConnectedPeripherals(ICBCentralManagerDelegate, CBCentralManager, CBPeripheral[])

Developers should not use this deprecated method.

RetrievedPeripherals(ICBCentralManagerDelegate, CBCentralManager, CBPeripheral[])
WillRestoreState(ICBCentralManagerDelegate, CBCentralManager, NSDictionary)

Applies to