searchMusic [1/2]
Searches for music resources.
public String searchMusic(String keyword, int page, int pageSize)
After calling this method, the SDK triggers the onMusicCollectionResult callback and returns the list of retrieved music resources.
Parameters
- keyword
- Search keyword. Supports searching by song title or artist name.
- page
- The page number of the music resource list to retrieve.
- pageSize
- The maximum number of music resources returned per page. The maximum value is 50.
Return Values
- On success, returns the unique identifier
requestIdfor the request. - On failure, returns an empty string.