public final class EnvironmentCompat extends Object
Environment
introduced after API
level 4 in a backwards compatible fashion.Modifier and Type | Field and Description |
---|---|
static String |
MEDIA_UNKNOWN
Unknown storage state, such as when a path isn't backed by known storage
media.
|
Modifier and Type | Method and Description |
---|---|
static String |
getStorageState(File path)
Returns the current state of the storage device that provides the given
path.
|
public static final String MEDIA_UNKNOWN
getStorageState(File)
,
Constant Field Values