public class DeviceConfigHelper
extends java.lang.Object
Constructor and Description |
---|
DeviceConfigHelper() |
Modifier and Type | Method and Description |
---|---|
static FolderConfiguration |
getFolderConfig(com.android.sdklib.devices.Device d)
|
static FolderConfiguration |
getFolderConfig(com.android.sdklib.devices.Device d,
java.lang.String stateName)
|
static FolderConfiguration |
getFolderConfig(com.android.sdklib.devices.State state)
Returns a
FolderConfiguration based on the given state |
@Nullable public static FolderConfiguration getFolderConfig(@Nullable com.android.sdklib.devices.State state)
FolderConfiguration
based on the given statestate
- The State
of the Device
to base the
FolderConfiguration
on. Can be null.FolderConfiguration
based on the given State
.
If the given State
is null, the result is also null;@Nullable public static FolderConfiguration getFolderConfig(com.android.sdklib.devices.Device d, java.lang.String stateName)
d
- The Device
to base the FolderConfiguration
on.stateName
- The name of the state to base the FolderConfiguration
on.FolderConfiguration
based on the determined
State
. If there is no State
with the given state
name for the given device, null is returned.public static FolderConfiguration getFolderConfig(com.android.sdklib.devices.Device d)
d
- The Device
to generate the FolderConfiguration
from.FolderConfiguration
based on the default State
for the given Device