Documentation ¶
Overview ¶
Package ios exposes routines for communicating with locally attached iOS devices via libidevicemobile CLI tools.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IOSImpl ¶
type IOSImpl struct{}
We began attaching all our methods to an interface/struct only so we could mock the whole thing out. This was before we could mock out CLI invocations using Contexts.
func (IOSImpl) BatteryLevel ¶
BatteryLevel returns the battery-full percentage of the attached device, or BadBatteryLevel if an error occurs.
func (IOSImpl) DeviceType ¶
DeviceType returns the Apple model identifier of the attached iDevice, e.g. "iPhone10,1".
Click to show internal directories.
Click to hide internal directories.