ON_BUFFERING Event for a sound

I am building an MP3 player. I need to detect if the audio pauses due to an empty buffer so that I can show a loading indicator. I’ve scoured all the Sound classes and can’t find any ‘ON_BUFFERING’ type events. How would this be accomplished?