コード例 #1
0
 private void OnConnectionStateChanged(BleConnectionState obj)
 {
     RaisePropertyChanged(() => IsListeningToReceivers);
 }
コード例 #2
0
 private void OnConnectionStateChanged(BleConnectionState obj)
 {
     RaisePropertyChanged(()=>IsListeningToReceivers);
 }
コード例 #3
0
 public void SetConnectionState(BleConnectionState state)
 {
     this.ConnectionState = state;
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="XBleApi.BleConnectionStateChangedEventArgs"/> class.
 /// </summary>
 /// <param name="oldState">Old state.</param>
 /// <param name="newState">New state.</param>
 public BleConnectionStateChangedEventArgs(BleConnectionState oldState, BleConnectionState newState)
 {
     OldState = oldState;
     NewState = newState;
 }