View Source ExMobileDevice.Diagnostics (exmobiledevice v0.2.19)

Services for shutting down or restarting a device.

Summary

Functions

Restart the specified device.

Shutdown the specified device.

Send the specified device to sleep.

Functions

@spec restart(String.t()) :: :ok | {:error, any()}

Restart the specified device.

@spec shutdown(String.t()) :: :ok | {:error, any()}

Shutdown the specified device.

@spec sleep(String.t()) :: :ok | {:error, any()}

Send the specified device to sleep.