static onLaunch(launchRequest, session, callback) {

        "use strict";
        console.log("Dispatcher.onLaunch requestId=" + launchRequest.requestId + ", sessionId=" + session.sessionId);

        // Connect to the squeeze server and wait for it to finish its registration.  We do this to make sure that it is online.

        var squeezeserver = new SqueezeServer(config.squeezeserverURL, config.squeezeserverPort, config.squeezeServerUsername, config.squeezeServerPassword);
        squeezeserver.on('register', function() {
            console.log("SqueezeServer registered");
            Dispatcher.startInteractiveSession(callback);
        });
    }
/**
     * Called when the user launches the skill without specifying what they want. When this happens we go into a mode where
     * they can issue multiple requests
     *
     * @param launchRequest The request
     * @param session The current session
     * @param callback A callback used to return the result
     */
Called when the user launches the skill without specifying what they want. When this happens we go into a mode where
they can issue multiple requests

@param launchRequest The request
@param session The current session
@param callback A callback used to return the result
Called when the user launches the skill without specifying what they want . When this happens we go into a mode where they can issue multiple requests @param launchRequest The request @param session The current session @param callback A callback used to return the result
static onLaunch(launchRequest, session, callback) {
        "use strict";
        console.log("Dispatcher.onLaunch requestId=" + launchRequest.requestId + ", sessionId=" + session.sessionId);
        var squeezeserver = new SqueezeServer(config.squeezeserverURL, config.squeezeserverPort, config.squeezeServerUsername, config.squeezeServerPassword);
        squeezeserver.on('register', function() {
            console.log("SqueezeServer registered");
            Dispatcher.startInteractiveSession(callback);
        });
    }
static onLaunch ( launchRequest , session , callback ) { "use strict" ; console . log ( "Dispatcher.onLaunch requestId=" + launchRequest . requestId + ", sessionId=" + session . sessionId ) ; var squeezeserver = new SqueezeServer ( config . squeezeserverURL , config . squeezeserverPort , config . squeezeServerUsername , config . squeezeServerPassword ) ; squeezeserver . on ( 'register' , function ( ) { console . log ( "SqueezeServer registered" ) ; Dispatcher . startInteractiveSession ( callback ) ; } ) ; }
Called when the user launches the skill without specifying what they want.
Called when the user launches the skill without specifying what they want .
// Connect to the squeeze server and wait for it to finish its registration.  We do this to make sure that it is online.