/// <summary> /// Creates a new instance of the DeviceDetectionException event arguments. /// </summary> /// <param name="exception">The exception.</param> public DeviceDetectionExceptionEventArgs(DeviceDetectionException exception) { _exception = exception; }
/// <summary> /// Called when [device detection attempt failed]. /// </summary> /// <param name="exception">The exception.</param> internal static void OnDeviceDetectionAttemptFailed(DeviceDetectionException exception) { if (DeviceDetectionAttemptFailed != null) DeviceDetectionAttemptFailed(exception.Device, new DeviceDetectionExceptionEventArgs(exception)); }