AVStorage.AVBaseColumnspublic static final class AVStorage.Audio.Playlists.Members extends Object implements AVStorage.AVBaseColumns
DATA, DATE_ADDED, DATE_MODIFIED, DISPLAY_NAME, DURATION, ID, MIME_TYPE, OUTPUT, SIZE, TITLE, VOLUME_NAME| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static Uri |
fetchResource(String volumeName,
long playlistId) |
Obtains a URI in dataability:// format, which is used for processing information
about members of the audio playback list subdirectory.
|
static boolean |
updatePlaylistItem(DataAbilityHelper dataAbilityHelper,
long playlistId,
int oldLocation,
int newLocation) |
Moves the playback list to a new storage position.
|
public static Uri fetchResource(String volumeName, long playlistId)
volumeName - Indicates the database volume name.playlistId - Indicates the playback list ID.IllegalArgumentException - Throws this exception if the database volume name is null.public static boolean updatePlaylistItem(DataAbilityHelper dataAbilityHelper, long playlistId, int oldLocation, int newLocation)
dataAbilityHelper - Indicates the dataAbilityHelper instance for data operations.playlistId - Indicates the playback list ID.oldLocation - Indicates the original storage position of the playback list.newLocation - Indicates the target storage position of the playback list.true if the operation is successfully; returns false otherwise.