new Device_Helper()
Devices handling class, used to make shortcuts around the launching and
shutting down of emulators. Also has functions for finding iOS certificates
and provisioning profiles.
- Source:
Methods
(async, static) getCert(type, search)
Use ioslib to probe the machine for a particular iOS certificate, then
return the certificate object.
Parameters:
| Name | Type | Description |
|---|---|---|
type |
String | The type of operation the cert is defined for |
search |
String | Part of the cert name, used to help locate it |
- Source:
(async, static) getProfile(type, search)
Use ioslib to probe the machine for a particular iOS provisioning profile,
then return the provisioning profile object.
Parameters:
| Name | Type | Description |
|---|---|---|
type |
String | The type of operation the pp is defined for |
search |
String | Part of the pp name, used to help locate it |
- Source:
(static) getSimState(simName, simVersion)
Get the boot status of an iOS simulator via its UDID
Parameters:
| Name | Type | Description |
|---|---|---|
simName |
String | The name of the iOS device to find |
simVersion |
String | The version of the iOS device to find |
- Source:
(async, static) killEmu(deviceName)
Kill all the Android emulators.
Parameters:
| Name | Type | Description |
|---|---|---|
deviceName |
String | The name of the Android device to kill |
- Source:
(async, static) killSim(simName, simVersion, opts)
Kill the iOS simulator using it's UDID, and then repeatedly check whether
it has fully shut down
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
simName |
String | The name of the iOS device to find | |||||||||
simVersion |
String | The version of the iOS device to find | |||||||||
opts |
Object | Optional arguments
Properties
|
- Source: