Düzenle

Aracılığıyla paylaş


ICBCentralManagerDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol CBCentralManagerDelegate.

[Foundation.Protocol(Name="CBCentralManagerDelegate", WrapperType=typeof(CoreBluetooth.CBCentralManagerDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface ICBCentralManagerDelegate : IDisposable, ObjCRuntime.INativeObject
type ICBCentralManagerDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by CBCentralManagerDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the CBCentralManagerDelegate protocol.

Optional methods (if any) are provided by the CBCentralManagerDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

UpdatedState(CBCentralManager)

Extension 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