@Override public void onSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest> requestEnvelope) { log.info("onSessionStarted requestId={}, sessionId={}", requestEnvelope.getRequest().getRequestId(), requestEnvelope.getSession().getSessionId()); // any initialization logic goes here }
@Override public void onSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest> requestEnvelope) { log.info("onSessionStarted requestId={}, sessionId={}", requestEnvelope.getRequest().getRequestId(), requestEnvelope.getSession().getSessionId()); // any initialization logic goes here }
@Override public void onSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest> requestEnvelope) { log.info("onSessionStarted requestId={}, sessionId={}", requestEnvelope.getRequest().getRequestId(), requestEnvelope.getSession().getSessionId()); // any initialization logic goes here }
@Override public void onSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest> requestEnvelope) { log.info("onSessionStarted requestId={}, sessionId={}", requestEnvelope.getRequest().getRequestId(), requestEnvelope.getSession().getSessionId()); // any initialization logic goes here }
@Override public void onSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest> requestEnvelope) { log.info("onSessionStarted requestId={}, sessionId={}", requestEnvelope.getRequest().getRequestId(), requestEnvelope.getSession().getSessionId()); // any initialization logic goes here }
@Override public void onSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest> requestEnvelope) { log.info("onSessionStarted requestId={}, sessionId={}", requestEnvelope.getRequest().getRequestId(), requestEnvelope.getSession().getSessionId()); // any initialization logic goes here }
@Override public void onSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest> requestEnvelope) { log.info("onSessionStarted requestId={}, sessionId={}", requestEnvelope.getRequest().getRequestId(), requestEnvelope.getSession().getSessionId()); // any initialization logic goes here }
@Override public void onSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest> requestEnvelope) { log.info("onSessionStarted requestId={}, sessionId={}", requestEnvelope.getRequest().getRequestId(), requestEnvelope.getSession().getSessionId()); // any initialization logic goes here }
/** * Logs information about the session, and is triggered at the start of a new session. * * @param envelope SpeechletRequestEnvelope containing the Context, Session, Version, and SessionStartedRequest */ @Override public void onSessionStarted(final SpeechletRequestEnvelope<SessionStartedRequest> envelope) { LOG.info("onSessionStarted requestId={}, sessionId={}", envelope.getRequest().getRequestId(), envelope.getSession().getSessionId()); }
@Override public void onSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest> requestEnvelope) { log.info("onSessionStarted requestId={}, sessionId={}", requestEnvelope.getRequest().getRequestId(), requestEnvelope.getSession().getSessionId()); // any initialization logic goes here }
@Override public void onSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest> requestEnvelope) { log.info("onSessionStarted requestId={}, sessionId={}", requestEnvelope.getRequest().getRequestId(), requestEnvelope.getSession().getSessionId()); // any initialization logic goes here }
@Override public void onSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest> requestEnvelope) { log.info("onSessionStarted requestId={}, sessionId={}", requestEnvelope.getRequest().getRequestId(), requestEnvelope.getSession().getSessionId()); // any initialization logic goes here }
@Override public void onSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest> requestEnvelope) { SessionStartedRequest request = requestEnvelope.getRequest(); Session session = requestEnvelope.getSession(); log.info("onSessionStarted requestId={}, sessionId={}", request.getRequestId(), session.getSessionId()); // any initialization logic goes here }
@Override public void onSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest> requestEnvelope) { log.info("onSessionStarted requestId={}, sessionId={}", requestEnvelope.getRequest().getRequestId(), requestEnvelope.getSession().getSessionId()); // any initialization logic goes here }
/** * This is fired when a session is started. Here we could potentially initialize a session in * our own service for the user, or update a record in a table, etc. * @param speechletRequestEnvelope container for the speechlet request. */ @Override public void onSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest> speechletRequestEnvelope) { SessionStartedRequest sessionStartedRequest = speechletRequestEnvelope.getRequest(); Session session = speechletRequestEnvelope.getSession(); log.info("onSessionStarted requestId={}, sessionId={}", sessionStartedRequest.getRequestId(), session.getSessionId()); }
@Override public void onSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest> requestEnvelope) { log.info("onSessionStarted requestId={}, sessionId={}", requestEnvelope.getRequest().getRequestId(), requestEnvelope.getSession().getSessionId()); // any initialization logic goes here }
@Override public void onSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest> requestEnvelope) { log.info("onSessionStarted requestId={}, sessionId={}", requestEnvelope.getRequest().getRequestId(), requestEnvelope.getSession().getSessionId()); // any initialization logic goes here }
/** * Logs information about the session, and is triggered at the start of a new session. * * @param envelope SpeechletRequestEnvelope containing the Context, Session, Version, and SessionStartedRequest */ @Override public void onSessionStarted(final SpeechletRequestEnvelope<SessionStartedRequest> envelope) { LOG.info("onSessionStarted requestId={}, sessionId={}", envelope.getRequest().getRequestId(), envelope.getSession().getSessionId()); }
@Override public void onSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest> requestEnvelope) { log.info("onSessionStarted requestId={}, sessionId={}", requestEnvelope.getRequest().getRequestId(), requestEnvelope.getSession().getSessionId()); initializeComponents(); // if user said a one shot command that triggered an intent event, // it will start a new session, and then we should avoid speaking too many words. skillContext.setNeedsMoreHelp(false); }
@Override public void onSessionStarted(SpeechletRequestEnvelope<SessionStartedRequest> requestEnvelope) { log.info("onSessionStarted requestId={}, sessionId={}", requestEnvelope.getRequest().getRequestId(), requestEnvelope.getSession().getSessionId()); initializeComponents(); // if user said a one shot command that triggered an intent event, // it will start a new session, and then we should avoid speaking too many words. skillContext.setNeedsMoreHelp(false); }