SigninCard 類別

  • java.lang.Object
    • com.microsoft.bot.schema.SigninCard

public class SigninCard

表示登入要求的卡片。

欄位摘要

修飾詞與類型 欄位與描述
static final java.lang.String CONTENTTYPE

建構函式摘要

建構函式 Description
SigninCard()

方法摘要

修飾詞與類型 方法與描述
java.util.List<CardAction> getButtons()

取得按鈕值。

java.lang.String getText()

取得文字值。

void setButtons(CardAction[] withButtons)

設定按鈕值。

void setButtons(List<CardAction> withButtons)

設定按鈕值。

void setText(String withText)

設定文字值。

Attachment toAttachment()

為此卡片建立 @{link Attachment} 。

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

欄位詳細資料

CONTENTTYPE

public static final String CONTENTTYPE

建構函式詳細資料

SigninCard

public SigninCard()

方法詳細資料

getButtons

public List getButtons()

取得按鈕值。

傳回:

按鈕值

getText

public String getText()

取得文字值。

傳回:

文字值

setButtons

public void setButtons(CardAction[] withButtons)

設定按鈕值。

參數:

withButtons - 要設定的按鈕值

setButtons

public void setButtons(List withButtons)

設定按鈕值。

參數:

withButtons - 要設定的按鈕值

setText

public void setText(String withText)

設定文字值。

參數:

withText - 要設定的文字值

toAttachment

public Attachment toAttachment()

為此卡片建立 @{link Attachment} 。

傳回:

包含卡片的 Attachment 物件。

適用於