public class DeviceManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static Map<String,DeviceObject> |
devices |
| Constructor and Description |
|---|
DeviceManager() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getFirstAvailableDevice(DeviceObject.DeviceType deviceType)
get first available device for test ios or android simulator or real device
sets device availability to false
|
static void |
loadDevices(List<String> deviceList,
DeviceObject.DeviceType type)
load all devices And set availablility to true
|
static void |
setDeviceAvailability(Boolean isAvailable)
set device availability used for device management
|
public static Map<String,DeviceObject> devices
public static String getFirstAvailableDevice(DeviceObject.DeviceType deviceType)
public static void loadDevices(List<String> deviceList, DeviceObject.DeviceType type)
deviceList - public static void setDeviceAvailability(Boolean isAvailable)
isAvailable - Copyright © 2019. All rights reserved.