Esempio n. 1
0
 private void OnDeviceDisconnected(object sender, DeviceEventArgs e)
 {
     _devices.Remove (e.Device);
 }
Esempio n. 2
0
 private void OnDeviceConnected(object sender, DeviceEventArgs e)
 {
     _devices.Add (e.Device);
 }
Esempio n. 3
0
 /// <summary>
 /// Raises the <see cref="E:DeviceDisconnected"/> event.
 /// </summary>
 /// <param name="e">The <see cref="Managed.Adb.DeviceEventArgs"/> instance containing the event data.</param>
 internal void OnDeviceDisconnected( DeviceEventArgs e )
 {
     if ( this.DeviceDisconnected != null ) {
         this.DeviceDisconnected ( this, e );
     }
 }
Esempio n. 4
0
 private void OnDeviceChanged(object sender, DeviceEventArgs e)
 {
 }
Esempio n. 5
0
 /// <summary>
 /// Raises the <see cref="E:DeviceChanged"/> event.
 /// </summary>
 /// <param name="e">The <see cref="Managed.Adb.DeviceEventArgs"/> instance containing the event data.</param>
 internal void OnDeviceChanged( DeviceEventArgs e )
 {
     if ( this.DeviceChanged != null ) {
         this.DeviceChanged ( this, e );
     }
 }