com.amazon.speech.speechlet.dialog.directives.ElicitSlotDirective Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alexa-skills-kit Show documentation
Show all versions of alexa-skills-kit Show documentation
Contains classes used by the Alexa Skills Kit.
package com.amazon.speech.speechlet.dialog.directives;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* A Directive which a skill may return to indicate that the skill is requesting the user to
* provide a value for a slot. The skill must also provide output speech for the request.
*
* @see DialogDirective#setUpdatedIntent
*/
@JsonTypeName("Dialog.ElicitSlot")
public class ElicitSlotDirective extends DialogDirective {
private String slotToElicit;
/**
* Set the name of the slot for which the user is being requested to provide a value.
*
* @param slotToElicit the name of the slot
*/
public void setSlotToElicit(String slotToElicit) {
this.slotToElicit = slotToElicit;
}
/**
* Get the name of the slot for which the user is being requested to provide a value.
*
* @return the name of the slot
*/
public String getSlotToElicit() {
return slotToElicit;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy