Skip to content

Instantly share code, notes, and snippets.

@kinisoftware
Created April 18, 2021 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kinisoftware/5bdba4879df1d7a92f4b21ca7f528962 to your computer and use it in GitHub Desktop.
Save kinisoftware/5bdba4879df1d7a92f4b21ca7f528962 to your computer and use it in GitHub Desktop.
class NextIntentHandler : RequestHandler {
override fun canHandle(input: HandlerInput) = input.matches(
intentName("AMAZON.NextIntent")
.or(Predicates.requestType(NextCommandIssuedRequest::class.java))
)
override fun handle(input: HandlerInput): Optional<Response> {...}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment