Agora Java API Reference for Android
Public Member Functions | Public Attributes | List of all members
io.agora.musiccontentcenter.MusicCacheInfo Class Reference

Information about cached music resources. More...

Public Member Functions

 MusicCacheInfo (long songCode, int status)
 
long getSongCode ()
 
int getStatus ()
 
String toString ()
 

Public Attributes

long songCode
 
int status
 

Detailed Description

Information about cached music resources.

Member Data Documentation

◆ songCode

long io.agora.musiccontentcenter.MusicCacheInfo.songCode

The identifier of the music resource, used to identify the music resource.

◆ status

int io.agora.musiccontentcenter.MusicCacheInfo.status

Cache status of music resources:

  • MUSIC_CACHE_STATUS_TYPE_CACHED (0): The music resource is cached.
  • MUSIC_CACHE_STATUS_TYPE_CACHING (1): The music resource is being cached.