src/main/java/org/intellimate/izou/sdk/frameworks/permanentSoundOutput/events/StartEvent.java
public static Optional<StartEvent> createStartEvent(Identification source) {
        try {
            StartEvent startRequest = new StartEvent(source);
            return Optional.of(startRequest);
        } catch (IllegalArgumentException e) {
            return Optional.empty();
        }
    }
public static Optional<StartEvent> createStartEvent(Identification source) {
        try {
            StartEvent startRequest = new StartEvent(source);
            return Optional.of(startRequest);
        } catch (IllegalArgumentException e) {
            return Optional.empty();
        }
    }
public static Optional < StartEvent > createStartEvent ( Identification source ) { try { StartEvent startRequest = new StartEvent ( source ) ; return Optional . of ( startRequest ) ; } catch ( IllegalArgumentException e ) { return Optional . empty ( ) ; } }
creates a new StartEvent.
Assumes the Output is using the java-sound output.
@param source the caller
@return the optional StartMusicRequest
creates a new StartEvent . Assumes the Output is using the java - sound output .