PromptOptions Classe

  • java.lang.Object
    • com.microsoft.bot.dialogs.prompts.PromptOptions

public class PromptOptions

Contiene le impostazioni da passare a {@link com.} all'avvio del prompt.

Riepilogo dei costruttori

Costruttore Descrizione
PromptOptions()

Riepilogo dei metodi

Modificatore e tipo Metodo e descrizione
java.util.List<Choice> getChoices()
Activity getPrompt()
Activity getRetryPrompt()
ListStyle getStyle()
java.lang.Object getValidations()
void setChoices(List<Choice> withChoices)
void setPrompt(Activity withPrompt)
void setRetryPrompt(Activity withRetryPrompt)
void setStyle(ListStyle withStyle)
void setValidations(Object withValidations)

Metodi ereditati da java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Dettagli costruttore

PromptOptions

public PromptOptions()

Dettagli metodo

getChoices

public List getChoices()

Restituisce:

Lista

getPrompt

public Activity getPrompt()

Restituisce:

Attività

getRetryPrompt

public Activity getRetryPrompt()

Restituisce:

Attività

getStyle

public ListStyle getStyle()

Restituisce:

ListStyle

getValidations

public Object getValidations()

Restituisce:

Oggetto

setChoices

public void setChoices(List withChoices)

Parametri:

withChoices - valore su cui impostare la proprietà Choices

setPrompt

public void setPrompt(Activity withPrompt)

Parametri:

withPrompt - valore per impostare la proprietà Prompt su

setRetryPrompt

public void setRetryPrompt(Activity withRetryPrompt)

Parametri:

withRetryPrompt - valore per impostare la proprietà Retry su

setStyle

public void setStyle(ListStyle withStyle)

Parametri:

withStyle - valore su cui impostare la proprietà Style

setValidations

public void setValidations(Object withValidations)

Parametri:

withValidations - valore per impostare la proprietà Validations su

Si applica a