@Documented @Retention(value=RUNTIME) @Target(value={ANNOTATION_TYPE,METHOD}) @Adapter(value=AnnotatedRequestHandler.class) public @interface IntentHandler
RequestHandler
, simplifying the Alexa programming model.
@Singleton public class AlexApplication { @IntentHandler("HelloWorldIntent") public Optionalgreet(HandlerInput input) { // intent logic here } }
Modifier and Type | Required Element and Description |
---|---|
java.lang.String[] |
value |