isPreloaded

Checks whether the specified music resource is preloaded.

public abstract int isPreloaded(long songCode);

This method is a synchronous call.

Parameters

songCode
The identifier of the music resource.

Return Values

  • 0: The method call succeeds, and the music resource is preloaded.
  • < 0: The method call fails.