Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlInterface ¶
type ControlInterface struct {
// contains filtered or unexported fields
}
ControlInterface provides a simple interface to controlling the AX service on the device It only needs the global dtx channel as all AX methods are invoked on it.
func New ¶
func New(device ios.DeviceEntry) (ControlInterface, error)
New creates and connects to the given device, a new ControlInterface instance
func (ControlInterface) EnableSelectionMode ¶
func (a ControlInterface) EnableSelectionMode()
EnableSelectionMode enables the UI element selection mode on the device, it is the same as clicking the little crosshair in AX Inspector
func (ControlInterface) GetElement ¶
func (a ControlInterface) GetElement()
GetElement moves the green selection rectangle one element further
func (ControlInterface) SwitchToDevice ¶
func (a ControlInterface) SwitchToDevice()
SwitchToDevice is the same as switching to the Device in AX inspector. After running this, notifications and events should be received.
func (ControlInterface) UpdateAccessibilitySetting ¶ added in v1.0.122
func (a ControlInterface) UpdateAccessibilitySetting(name string, val interface{})
Click to show internal directories.
Click to hide internal directories.