creates and returns a response intended to tell the user something . after the specified output is read to the user , the session ends . note that the response created with this method does not include a graphical card for the companion app . all arguments in this method are required and can not be null . concode_field_sep List<Directive> directives concode_elem_sep OutputSpeech outputSpeech concode_elem_sep Reprompt reprompt concode_elem_sep Card card concode_elem_sep boolean shouldEndSession concode_field_sep void setDirectives concode_elem_sep Reprompt getReprompt concode_elem_sep void setShouldEndSession concode_elem_sep OutputSpeech getOutputSpeech concode_elem_sep SpeechletResponse newAskResponse concode_elem_sep SpeechletResponse newAskResponse concode_elem_sep void setCard concode_elem_sep Card getCard concode_elem_sep List<Directive> getDirectives concode_elem_sep boolean getShouldEndSession concode_elem_sep void setOutputSpeech concode_elem_sep void setReprompt
SpeechletResponse function ( final OutputSpeech arg0 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } SpeechletResponse loc0 = new SpeechletResponse ( ) ; loc0 . setShouldEndSession ( true ) ; loc0 . setOutputSpeech ( arg0 ) ; return loc0 ; }