src/main/java/org/intellimate/izou/sdk/frameworks/music/player/template/PlayerController.java
public void stopPlaying() {
        Optional<Identification> ownIdentification = IdentificationManagerM.getInstance()
                .getIdentification(this);
        Optional<Identification> playerIdentification = IdentificationManagerM.getInstance()
                .getIdentification(player);
        if (!ownIdentification.isPresent()|| !playerIdentification.isPresent()) {
            error("unable to obtain id");
            return;
        }
        StopMusic.createStopMusic(ownIdentification.get(), playerIdentification.get())
                .ifPresent(event -> fire(event, 5));
    }
public void stopPlaying() {
        Optional<Identification> ownIdentification = IdentificationManagerM.getInstance()
                .getIdentification(this);
        Optional<Identification> playerIdentification = IdentificationManagerM.getInstance()
                .getIdentification(player);
        if (!ownIdentification.isPresent()|| !playerIdentification.isPresent()) {
            error("unable to obtain id");
            return;
        }
        StopMusic.createStopMusic(ownIdentification.get(), playerIdentification.get())
                .ifPresent(event -> fire(event, 5));
    }
public void stopPlaying ( ) { Optional < Identification > ownIdentification = IdentificationManagerM . getInstance ( ) . getIdentification ( this ) ; Optional < Identification > playerIdentification = IdentificationManagerM . getInstance ( ) . getIdentification ( player ) ; if ( ! ownIdentification . isPresent ( ) || ! playerIdentification . isPresent ( ) ) { error ( "unable to obtain id" ) ; return ; } StopMusic . createStopMusic ( ownIdentification . get ( ) , playerIdentification . get ( ) ) . ifPresent ( event -> fire ( event , 5 ) ) ; }
stops the playing of the music
stops the playing of the music