getPlaySrc [2/2]
Gets the identifier or URL of the currently playing music resource.
@Override String getPlaySrc();
You need to call this method after opening a music resource:
- If you open the music resource using
open(Uri uri, long startPos), this method returns the identifier (songCode). - If you open the music resource using
open(String url, long startPos), this method returns the URL.
Return Values
- On success, returns the identifier or URL of the music resource.
- On failure, returns an empty string.