/// <summary> /// 恢复模式断开链接回调 /// </summary> /// <param name="callback">The callback.</param> private void RecoveryDisconnectCallback(ref AMRecoveryDevice callback) { if (RecoveryConnectEvent != null) { RecoveryConnectEvent(this, new DeviceRecoveryConnectEventArgs(callback.devicePtr, ConnectNotificationMessage.Disconnected)); } }
private void RecoveryDisconnectCallback(ref AMRecoveryDevice callback) { this.DFUHandle = callback.byte_0; iPhoneRecovery = null; this.OnRecoveryModeLeave(new DeviceNotificationEventArgs(callback)); }
private void RecoveryConnectCallback(ref AMRecoveryDevice callback) { this.DFUHandle = callback.byte_0; iPhoneRecovery = new iPhoneRecoveryDevice(this.DFUHandle); this.OnRecoveryModeEnter(new DeviceNotificationEventArgs(callback)); }
private void DfuDisconnectCallback(ref AMRecoveryDevice callback) { this.DFUHandle = callback.byte_0; iPhoneDFU = null; this.OnDfuDisconnect(new DeviceNotificationEventArgs(callback)); }
internal DeviceNotificationEventArgs(AMRecoveryDevice device) { this.device = device; }
private void RecoveryDisconnectCallback(ref AMRecoveryDevice callback) { this.OnRecoveryModeLeave(new DeviceNotificationEventArgs(callback)); }
private void DfuDisconnectCallback(ref AMRecoveryDevice callback) { this.OnDfuDisconnect(new DeviceNotificationEventArgs(callback)); }