xamarinwatchos
namespace CoreBluetooth
{
    [Introduced(PlatformName.WatchOS, 4, 0, PlatformArchitecture.All, null)]
    [Introduced(PlatformName.MacOSX, 10, 9, PlatformArchitecture.All, null)]
    [Protocol(Name = "CBPeripheralManagerDelegate", WrapperType = typeof(CBPeripheralManagerDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "StateUpdated", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(CBPeripheralManager) }, Selector = "peripheralManagerDidUpdateState:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillRestoreState", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(CBPeripheralManager), typeof(NSDictionary) }, Selector = "peripheralManager:willRestoreState:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "AdvertisingStarted", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(CBPeripheralManager), typeof(NSError) }, Selector = "peripheralManagerDidStartAdvertising:error:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ServiceAdded", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(CBPeripheralManager), typeof(CBService), typeof(NSError) }, Selector = "peripheralManager:didAddService:error:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CharacteristicSubscribed", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(CBPeripheralManager), typeof(CBCentral), typeof(CBCharacteristic) }, Selector = "peripheralManager:central:didSubscribeToCharacteristic:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CharacteristicUnsubscribed", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(CBPeripheralManager), typeof(CBCentral), typeof(CBCharacteristic) }, Selector = "peripheralManager:central:didUnsubscribeFromCharacteristic:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ReadRequestReceived", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(CBPeripheralManager), typeof(CBATTRequest) }, Selector = "peripheralManager:didReceiveReadRequest:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WriteRequestsReceived", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(CBPeripheralManager), typeof(CBATTRequest[]) }, Selector = "peripheralManager:didReceiveWriteRequests:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ReadyToUpdateSubscribers", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(CBPeripheralManager) }, Selector = "peripheralManagerIsReadyToUpdateSubscribers:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidOpenL2CapChannel", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(CBPeripheralManager), typeof(CBL2CapChannel), typeof(NSError) }, Selector = "peripheralManager:didOpenL2CAPChannel:error:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidUnpublishL2CapChannel", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(CBPeripheralManager), typeof(ushort), typeof(NSError) }, Selector = "peripheralManager:didUnpublishL2CAPChannel:error:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidPublishL2CapChannel", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(CBPeripheralManager), typeof(ushort), typeof(NSError) }, Selector = "peripheralManager:didPublishL2CAPChannel:error:")]
    public interface ICBPeripheralManagerDelegate : INativeObject, IDisposable
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [Export("peripheralManagerDidUpdateState:")]
        [Preserve(Conditional = true)]
        void StateUpdated(CBPeripheralManager! peripheral);
    }
}
.NET 6.07.08.09.0
Information specific to xamarinwatchos
Assembly

Xamarin.WatchOS , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API

11/11/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙