public class StorageInfo extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StorageInfo.DeviceStorageType |
| Modifier and Type | Field and Description |
|---|---|
static int |
STORAGE_INFO_CURRENT_VERSION
Current version for the structure as defined in the native code
|
| Constructor and Description |
|---|
StorageInfo(int version,
StorageInfo.DeviceStorageType deviceStorageType,
long storageSize,
int spillRatio,
String rootDirectory) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDeviceStorageType() |
String |
getRootDirectory() |
int |
getSpillRatio() |
long |
getStorageSize() |
int |
getVersion() |
public static final int STORAGE_INFO_CURRENT_VERSION
public StorageInfo(int version,
StorageInfo.DeviceStorageType deviceStorageType,
long storageSize,
int spillRatio,
@NonNull
String rootDirectory)
public int getVersion()
public int getDeviceStorageType()
public long getStorageSize()
public int getSpillRatio()
@NonNull public String getRootDirectory()
Copyright © 2019. All rights reserved.