AnimationCard 類別
- java.
lang. Object - com.
microsoft. bot. schema. AnimationCard
- com.
public class AnimationCard
動畫卡片(例如:gif 或短片剪輯)。
欄位摘要
| 修飾詞與類型 | 欄位與描述 |
|---|---|
| static final java.lang.String | CONTENTTYPE |
建構函式摘要
| 建構函式 | Description | |
|---|---|---|
| AnimationCard() | ||
方法摘要
方法繼承來源 java.lang.Object
欄位詳細資料
CONTENTTYPE
public static final String CONTENTTYPE
建構函式詳細資料
AnimationCard
public AnimationCard()
方法詳細資料
getAspect
public String getAspect()
取得外觀值。
傳回:
getAutoloop
public boolean getAutoloop()
取得 autoloop 值。
傳回:
getAutostart
public boolean getAutostart()
取得自動啟動值。
傳回:
getButtons
public List
取得按鈕值。
傳回:
getDuration
public String getDuration()
取得持續時間值。
傳回:
getImage
public ThumbnailUrl getImage()
取得影像值。
傳回:
getMedia
public List
取得媒體值。
傳回:
getShareable
public boolean getShareable()
取得可共用的值。
傳回:
getSubtitle
public String getSubtitle()
取得副標題值。
傳回:
getText
public String getText()
取得文字值。
傳回:
getTitle
public String getTitle()
取得標題值。
傳回:
getValue
public Object getValue()
取得值。
傳回:
setAspect
public void setAspect(String withAspect)
設定外觀值。
參數:
setAutoloop
public void setAutoloop(boolean withAutoloop)
設定 autoloop 值。
參數:
setAutostart
public void setAutostart(boolean withAutostart)
設定自動啟動值。
參數:
setButtons
public void setButtons(CardAction[] withButtons)
設定按鈕值。
參數:
setButtons
public void setButtons(List
設定按鈕值。
參數:
setDuration
public void setDuration(String withDuration)
設定持續時間值。
參數:
setImage
public void setImage(ThumbnailUrl withImage)
設定影像值。
參數:
setMedia
public void setMedia(MediaUrl[] withMedia)
設定媒體值。
參數:
setMedia
public void setMedia(List
設定媒體值。
參數:
setShareable
public void setShareable(boolean withShareable)
設定可共用的值。
參數:
setSubtitle
public void setSubtitle(String withSubtitle)
設定副標題值。
參數:
setText
public void setText(String withText)
設定文字值。
參數:
setTitle
public void setTitle(String withTitle)
設定標題值。
參數:
setValue
public void setValue(Object withValue)
設定值。
參數:
toAttachment
public Attachment toAttachment()
為此卡片建立 @{link Attachment} 。
傳回: