共用方式為


CBPeripheralManagerDelegate.ServiceAdded 方法

定義

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

參數

peripheral
CBPeripheralManager
service
CBService
error
NSError
屬性

適用於