共用方式為


CBPeripheralManagerDelegate_Extensions.ServiceAdded 方法

定義

public static void ServiceAdded (this CoreBluetooth.ICBPeripheralManagerDelegate This, CoreBluetooth.CBPeripheralManager peripheral, CoreBluetooth.CBService service, Foundation.NSError error);
static member ServiceAdded : CoreBluetooth.ICBPeripheralManagerDelegate * CoreBluetooth.CBPeripheralManager * CoreBluetooth.CBService * Foundation.NSError -> unit

參數

This
ICBPeripheralManagerDelegate

這個擴充方法運作所在的實例。

peripheral
CBPeripheralManager
service
CBService
error
NSError

適用於