class AudioPlayerViewModel extends ViewModel implements MediaPlayer.OnCompletionListener {

    public void setPosition(String clipID, Integer newPosition) {
        if (isCurrentPlayingClip(clipID, currentlyPlaying.getValue())) {
            getMediaPlayer().seekTo(newPosition);
        }

        getPositionForClip(clipID).setValue(newPosition);
    }

      AudioPlayerViewModel(MediaPlayerFactory mediaPlayerFactory, Scheduler scheduler);

}