isPlaying

fun isPlaying(): Boolean

Returns whether playback is active by looking at the playback speed of a MediaPlaybackTimeInfo.