onComplete method

void onComplete()

Override this method to get notifications when media has finished playing.

Implementation

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