예제 #1
0
 public override void AdvertisingStarted(CBPeripheralManager peripheral, NSError error)
 {
     if (error == null)
     {
         AdvertiseStartSuccess?.Invoke(this, new AdvertiseStartEventArgs(AdvertiseStatus.None));
     }
     else
     {
         AdvertiseStartFailed?.Invoke(this, new AdvertiseStartEventArgs(AdvertiseStatus.InternalError));
     }
 }
예제 #2
0
 private void BluetoothGatt_AdvertiseStartFailed(object sender, AdvertiseStartEventArgs advertiseStartEventArgs)
 {
     AdvertiseStartFailed?.Invoke(this, advertiseStartEventArgs);
 }