Share via


CBPeripheralManagerDelegate.ServiceAdded Method

Definition

[Foundation.Export("peripheralManager:didAddService:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void ServiceAdded(CoreBluetooth.CBPeripheralManager peripheral, CoreBluetooth.CBService service, Foundation.NSError? error);
[<Foundation.Export("peripheralManager:didAddService:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ServiceAdded : CoreBluetooth.CBPeripheralManager * CoreBluetooth.CBService * Foundation.NSError -> unit
override this.ServiceAdded : CoreBluetooth.CBPeripheralManager * CoreBluetooth.CBService * Foundation.NSError -> unit

Parameters

peripheral
CBPeripheralManager
service
CBService
error
NSError

Implements

Attributes

Applies to