PromptOptions 類別

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

public class PromptOptions

包含傳遞至 {@link com 的設定。} 當提示啟動時。

建構函式摘要

建構函式 Description
PromptOptions()

方法摘要

修飾詞與類型 方法與描述
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)

方法繼承來源 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

建構函式詳細資料

PromptOptions

public PromptOptions()

方法詳細資料

getChoices

public List getChoices()

傳回:

清單

getPrompt

public Activity getPrompt()

傳回:

活動

getRetryPrompt

public Activity getRetryPrompt()

傳回:

活動

getStyle

public ListStyle getStyle()

傳回:

ListStyle

getValidations

public Object getValidations()

傳回:

物件

setChoices

public void setChoices(List withChoices)

參數:

withChoices - 值,將 Choices 屬性設定為

setPrompt

public void setPrompt(Activity withPrompt)

參數:

withPrompt - 值,將 Prompt 屬性設定為

setRetryPrompt

public void setRetryPrompt(Activity withRetryPrompt)

參數:

withRetryPrompt - 值,將 Retry 屬性設定為

setStyle

public void setStyle(ListStyle withStyle)

參數:

withStyle - 值,將 Style 屬性設定為

setValidations

public void setValidations(Object withValidations)

參數:

withValidations - 值,將 Validations 屬性設定為

適用於