private void RecoveryDisconnectCallback(ref AMRecoveryDevice callback) { DFUHandle = callback.devicePtr; iPhoneRecovery = null; OnRecoveryModeLeave(new DeviceNotificationEventArgs(callback)); }
private void RecoveryConnectCallback(ref AMRecoveryDevice callback) { DFUHandle = callback.devicePtr; iPhoneRecovery = new iPhoneRecoveryDevice(DFUHandle); OnRecoveryModeEnter(new DeviceNotificationEventArgs(callback)); }