FromNative() static private method

static private FromNative ( ADLDeviceListChangedEvent devListChangedEvnt ) : DeviceListChangedEvent
devListChangedEvnt ADLDeviceListChangedEvent
return DeviceListChangedEvent
Ejemplo n.º 1
0
 private void on_device_list_changed_callback_t(IntPtr opaque,
                                                ref ADLDeviceListChangedEvent e)
 {
     try
     {
         if (_listener != null)
         {
             _listener.onDeviceListChanged(
                 DeviceListChangedEvent.FromNative(e));
         }
     }
     catch (Exception)
     {
     }
 }