AVStorage.AVBaseColumnspublic static final class AVStorage.Images.Media extends Object implements AVStorage.AVBaseColumns
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static Uri |
EXTERNAL_DATA_ABILITY_URI |
Indicates the dataability:// URI for external storage.
|
static Uri |
INTERNAL_DATA_ABILITY_URI |
Indicates the dataability:// URI for internal storage.
|
DATA, DATE_ADDED, DATE_MODIFIED, DISPLAY_NAME, DURATION, ID, MIME_TYPE, OUTPUT, SIZE, TITLE, VOLUME_NAME| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static Uri |
fetchResource(String volumeName) |
Obtains a URI in dataability:// format, which is used for processing image information.
|
static Uri |
fetchResource(String volumeName,
long id) |
Obtains the URI (in dataability:// format) of image information in a specified row of
the database table.
|
public static final Uri EXTERNAL_DATA_ABILITY_URI
public static final Uri INTERNAL_DATA_ABILITY_URI
public static Uri fetchResource(String volumeName)
volumeName - Indicates the database volume name.IllegalArgumentException - Throws this exception if the database volume name is null.public static Uri fetchResource(String volumeName, long id)
volumeName - Indicates the volume name of the database.id - Indicates the number of the specific row in the database table.lllegalArgumentException - Throws this exception if volumeName is null
or id is less than 0.