class AudioPlayerViewModel extends ViewModel implements MediaPlayer.OnCompletionListener {

    public void stop() {
        if (currentlyPlaying.getValue() != null) {
            getMediaPlayer().stop();
        }

        cleanUpAfterClip();
    }

      AudioPlayerViewModel(MediaPlayerFactory mediaPlayerFactory, Scheduler scheduler);

}