/// <summary> /// Puts the device into deep sleep mode and disconnects from host. /// </summary> /// <param name="client"> /// The diagnostics_relay client /// </param> /// <returns> /// DIAGNOSTICS_RELAY_E_SUCCESS on success, /// DIAGNOSTICS_RELAY_E_INVALID_ARG when client is NULL, /// DIAGNOSTICS_RELAY_E_PLIST_ERROR if the device did not acknowledge the /// request /// </returns> public virtual DiagnosticsRelayError diagnostics_relay_sleep(DiagnosticsRelayClientHandle client) { return(DiagnosticsRelayNativeMethods.diagnostics_relay_sleep(client)); }