ICBPeripheralManagerDelegate Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Delegate object for CBPeripheralManager. Adds methods for events relating to availability, publishing, advertising, and subscription.
[Foundation.Protocol(Name="CBPeripheralManagerDelegate", WrapperType=typeof(CoreBluetooth.CBPeripheralManagerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="StateUpdated", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager) }, Selector="peripheralManagerDidUpdateState:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillRestoreState", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager), typeof(Foundation.NSDictionary) }, Selector="peripheralManager:willRestoreState:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AdvertisingStarted", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager), typeof(Foundation.NSError) }, Selector="peripheralManagerDidStartAdvertising:error:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ServiceAdded", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager), typeof(CoreBluetooth.CBService), typeof(Foundation.NSError) }, Selector="peripheralManager:didAddService:error:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CharacteristicSubscribed", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager), typeof(CoreBluetooth.CBCentral), typeof(CoreBluetooth.CBCharacteristic) }, Selector="peripheralManager:central:didSubscribeToCharacteristic:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CharacteristicUnsubscribed", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager), typeof(CoreBluetooth.CBCentral), typeof(CoreBluetooth.CBCharacteristic) }, Selector="peripheralManager:central:didUnsubscribeFromCharacteristic:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ReadRequestReceived", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager), typeof(CoreBluetooth.CBATTRequest) }, Selector="peripheralManager:didReceiveReadRequest:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WriteRequestsReceived", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager), typeof(CoreBluetooth.CBATTRequest[]) }, Selector="peripheralManager:didReceiveWriteRequests:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ReadyToUpdateSubscribers", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager) }, Selector="peripheralManagerIsReadyToUpdateSubscribers:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidOpenL2CapChannel", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager), typeof(CoreBluetooth.CBL2CapChannel), typeof(Foundation.NSError) }, Selector="peripheralManager:didOpenL2CAPChannel:error:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidUnpublishL2CapChannel", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager), typeof(System.UInt16), typeof(Foundation.NSError) }, Selector="peripheralManager:didUnpublishL2CAPChannel:error:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPublishL2CapChannel", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager), typeof(System.UInt16), typeof(Foundation.NSError) }, Selector="peripheralManager:didPublishL2CAPChannel:error:")]
public interface ICBPeripheralManagerDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="CBPeripheralManagerDelegate", WrapperType=typeof(CoreBluetooth.CBPeripheralManagerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="StateUpdated", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager) }, Selector="peripheralManagerDidUpdateState:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillRestoreState", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager), typeof(Foundation.NSDictionary) }, Selector="peripheralManager:willRestoreState:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AdvertisingStarted", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager), typeof(Foundation.NSError) }, Selector="peripheralManagerDidStartAdvertising:error:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ServiceAdded", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager), typeof(CoreBluetooth.CBService), typeof(Foundation.NSError) }, Selector="peripheralManager:didAddService:error:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CharacteristicSubscribed", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager), typeof(CoreBluetooth.CBCentral), typeof(CoreBluetooth.CBCharacteristic) }, Selector="peripheralManager:central:didSubscribeToCharacteristic:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CharacteristicUnsubscribed", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager), typeof(CoreBluetooth.CBCentral), typeof(CoreBluetooth.CBCharacteristic) }, Selector="peripheralManager:central:didUnsubscribeFromCharacteristic:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ReadRequestReceived", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager), typeof(CoreBluetooth.CBATTRequest) }, Selector="peripheralManager:didReceiveReadRequest:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WriteRequestsReceived", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager), typeof(CoreBluetooth.CBATTRequest[]) }, Selector="peripheralManager:didReceiveWriteRequests:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ReadyToUpdateSubscribers", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager) }, Selector="peripheralManagerIsReadyToUpdateSubscribers:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidOpenL2CapChannel", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager), typeof(CoreBluetooth.CBL2CapChannel), typeof(Foundation.NSError) }, Selector="peripheralManager:didOpenL2CAPChannel:error:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidUnpublishL2CapChannel", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager), typeof(System.UInt16), typeof(Foundation.NSError) }, Selector="peripheralManager:didUnpublishL2CAPChannel:error:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPublishL2CapChannel", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CoreBluetooth.CBPeripheralManager), typeof(System.UInt16), typeof(Foundation.NSError) }, Selector="peripheralManager:didPublishL2CAPChannel:error:")>]
type ICBPeripheralManagerDelegate = interface
interface INativeObject
interface IDisposable
- Derived
- Attributes
- Implements
Properties
| Name | Description |
|---|---|
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |