setPreloadObserver abstract method
Setting Music Preload Callback
Before preloading music, please use this API to set the preload callback, which can inform you of the preload status.
- Parameters:
- observer(TXMusicPreloadObserver):
Implementation
void setPreloadObserver(TXMusicPreloadObserver? observer);