Player.md - is there something like getTime() or isEnded() ? Would be nice with list of functions available that can be accessed with JS

I’m setting the event listeners in js in my UIWebview for online,offline,ended,pause,and play.
I don’t get events fired for when the broadcaster comes online/offline or ended when they end the stream, but I do get events for pause and play.
Does online/offline/ended work?