public class AudioInfoRepo
extends java.lang.Object
| Constructor and Description |
|---|
AudioInfoRepo() |
| Modifier and Type | Method and Description |
|---|---|
com.box.androidsdk.preview.viewmodel.AudioInfoRepo.BoxFileLiveData<java.lang.String> |
getSongName(com.box.androidsdk.content.models.BoxFile boxFile)
Retrieve a LiveData for a song name on a specific file (audio file)
|
com.box.androidsdk.preview.viewmodel.AudioInfoRepo.BoxFileLiveData<android.graphics.Bitmap> |
getThumbnail(com.box.androidsdk.content.models.BoxFile boxFile)
Retrieve a LiveData for the Thumbnail of a specific file
|
void |
notifySongNameChanged(com.box.androidsdk.content.models.BoxFile boxFile,
java.lang.String songName)
Method to notify that a song name has changed
This method will notify the proper LiveData with the change
|
void |
notifyThumbChanged(com.box.androidsdk.content.models.BoxFile boxFile,
android.graphics.Bitmap bitmap)
Method to notify that a thumbnail has changed
This method will notify the proper LiveData with the change
|
public com.box.androidsdk.preview.viewmodel.AudioInfoRepo.BoxFileLiveData<android.graphics.Bitmap> getThumbnail(@NonNull
com.box.androidsdk.content.models.BoxFile boxFile)
boxFile - - The file for which the thumbnail is being requestedpublic void notifyThumbChanged(@NonNull
com.box.androidsdk.content.models.BoxFile boxFile,
@NonNull
android.graphics.Bitmap bitmap)
boxFile - - The file for which the thumbnail has changedbitmap - - The new thumbnail bitmappublic com.box.androidsdk.preview.viewmodel.AudioInfoRepo.BoxFileLiveData<java.lang.String> getSongName(@NonNull
com.box.androidsdk.content.models.BoxFile boxFile)
boxFile - - The file for which the song name is being requestedpublic void notifySongNameChanged(@NonNull
com.box.androidsdk.content.models.BoxFile boxFile,
@NonNull
java.lang.String songName)
boxFile - - The file for which the song name has changedsongName - - The new song name string