示例#1
0
 /// <remarks>
 /// This must be implemented if you want to Subscribe() to IBluetoothLowEnergyAdapter.State to be notified when the
 /// bluetooth adapter state changes (i.e., it is enabled or disabled). If you don't care about that in your use-case, then
 /// you don't need to implement this -- you can still query the state of the adapter, the observable just won't work. See
 /// <see cref="IBluetoothLowEnergyAdapter.State" />
 /// </remarks>
 protected override void OnMAMActivityResult(Int32 requestCode, Result resultCode, Intent data)
 {
     BluetoothLowEnergyAdapter.OnActivityResult(requestCode, resultCode, data);
 }
 /* Activity callbacks */
 protected sealed override void OnActivityResult(Int32 requestCode, Result resultCode, Intent data)
 {
     // Invoke BLE Adapter Activity Result
     BluetoothLowEnergyAdapter.OnActivityResult(requestCode, resultCode, data);
 }