onPlay method

void onPlay()

Override this method to get notifications when media is played.

Implementation

void onPlay() {/* user implementation */}