Edytuj

Udostępnij za pośrednictwem


ICBPeripheralDelegate Interface

Definition

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

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

Remarks

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

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 CBPeripheralDelegate protocol.

Optional methods (if any) are provided by the CBPeripheralDelegate_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)

Extension 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