src/main/java/org/intellimate/izou/sdk/frameworks/music/player/template/Player.java
protected void fireStartMusicRequest(EventModel eventModel) {
        Optional<Playlist> playlist = PlaylistResource.getPlaylist(eventModel);
        Optional<Progress> progress = ProgressResource.getProgress(eventModel);
        Optional<TrackInfo> trackInfo = TrackInfoResource.getTrackInfo(eventModel);
        Optional<Volume> volume = VolumeResource.getVolume(eventModel);
        startedSound(playlist.orElse(null), progress.orElse(null), trackInfo.orElse(null), volume.orElse(null), isUsingJava);
    }
protected void fireStartMusicRequest(EventModel eventModel) {
        Optional<Playlist> playlist = PlaylistResource.getPlaylist(eventModel);
        Optional<Progress> progress = ProgressResource.getProgress(eventModel);
        Optional<TrackInfo> trackInfo = TrackInfoResource.getTrackInfo(eventModel);
        Optional<Volume> volume = VolumeResource.getVolume(eventModel);
        startedSound(playlist.orElse(null), progress.orElse(null), trackInfo.orElse(null), volume.orElse(null), isUsingJava);
    }
protected void fireStartMusicRequest ( EventModel eventModel ) { Optional < Playlist > playlist = PlaylistResource . getPlaylist ( eventModel ) ; Optional < Progress > progress = ProgressResource . getProgress ( eventModel ) ; Optional < TrackInfo > trackInfo = TrackInfoResource . getTrackInfo ( eventModel ) ; Optional < Volume > volume = VolumeResource . getVolume ( eventModel ) ; startedSound ( playlist . orElse ( null ) , progress . orElse ( null ) , trackInfo . orElse ( null ) , volume . orElse ( null ) , isUsingJava ) ; }
this method will be called to create and fire the StartMusicRequest
@param eventModel the cause
this method will be called to create and fire the StartMusicRequest