Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcessControl ¶
type ProcessControl struct {
// contains filtered or unexported fields
}
func NewProcessControl ¶
func NewProcessControl(device ios.DeviceEntry) (*ProcessControl, error)
func (*ProcessControl) Close ¶
func (p *ProcessControl) Close()
func (ProcessControl) KillProcess ¶
func (p ProcessControl) KillProcess(pid uint64) error
KillProcess kills the process on the device.
func (*ProcessControl) LaunchApp ¶
func (p *ProcessControl) LaunchApp(bundleID string) (uint64, error)
LaunchApp launches the app with the given bundleID on the given device.LaunchApp Use LaunchAppWithArgs for passing arguments and envVars. It returns the PID of the created app process.
func (ProcessControl) StartProcess ¶
func (p ProcessControl) StartProcess(bundleID string, envVars map[string]interface{}, arguments []interface{}, options map[string]interface{}) (uint64, error)
StartProcess launches an app on the device using the bundleID and optional envvars, arguments and options. It returns the PID.
Click to show internal directories.
Click to hide internal directories.