VideoCard クラス
- java.
lang. Object - com.
microsoft. bot. schema. VideoCard
- com.
public class VideoCard
ビデオカード。
フィールドの概要
| 修飾子と型 | フィールドと説明 |
|---|---|
| static final java.lang.String | CONTENTTYPE |
コンストラクターの概要
| コンストラクター | 説明 | |
|---|---|---|
| VideoCard() | ||
メソッドの概要
| 修飾子と型 | メソッドと説明 |
|---|---|
| java.lang.String |
getAspect()
サムネイル/メディア プレースホルダーの縦横比。使用できる値は "16:9" と "4:3" です。 |
| boolean |
getAutoloop()
クライアントがコンテンツの最後に再生をループする必要があります。 |
| boolean |
getAutostart()
クライアントがこのカード内のメディアの再生を自動的に開始する必要があります。 |
|
java.util.List<Card |
getButtons()
ボタンの値を取得します。 |
| java.lang.String |
getDuration()
期間の値を取得します。 |
|
Thumbnail |
getImage()
イメージ値を取得します。 |
|
java.util.List<Media |
getMedia()
このカードのメディア URL。 |
| boolean |
getShareable()
共有可能な値を取得します。 |
| java.lang.String |
getSubtitle()
サブタイトルの値を取得します。 |
| java.lang.String |
getText()
テキスト値を取得します。 |
| java.lang.String |
getTitle()
タイトル値を取得します。 |
| java.lang.Object |
getValue()
値を取得します。 |
| void |
setAspect(String withAspect)
サムネイル/メディア プレースホルダーの縦横比。使用できる値は "16:9" と "4:3" です。 |
| void |
setAutoloop(boolean withAutoloop)
クライアントがコンテンツの最後に再生をループする必要があります。 |
| void |
setAutostart(boolean withAutostart)
クライアントがこのカード内のメディアの再生を自動的に開始する必要があります。 |
| void |
setButtons(CardAction[] withButtons)
ボタンの値を設定します。 |
| void |
setButtons(List<CardAction> withButtons)
ボタンの値を設定します。 |
| void |
setDuration(String withDuration)
期間の値を設定します。 |
| void |
setImage(ThumbnailUrl withImage)
イメージ値を設定します。 |
| void |
setMedia(MediaUrl[] withMedia)
このカードのメディア URL。 |
| void |
setMedia(List<MediaUrl> withMedia)
このカードのメディア URL。 |
| void |
setShareable(boolean withShareable)
共有可能な値を設定します。 |
| void |
setSubtitle(String withSubtitle)
サブタイトルの値を設定します。 |
| void |
setText(String withText)
テキスト値を設定します。 |
| void |
setTitle(String withTitle)
タイトルの値を設定します。 |
| void |
setValue(Object withValue)
値を設定します。 |
| Attachment |
toAttachment()
このカードの @{link Attachment} を作成します。 |
メソッドの継承元: java.lang.Object
フィールドの詳細
CONTENTTYPE
public static final String CONTENTTYPE
コンストラクターの詳細
VideoCard
public VideoCard()
メソッドの詳細
getAspect
public String getAspect()
サムネイル/メディア プレースホルダーの縦横比。使用できる値は "16:9" と "4:3" です。
戻り値:
getAutoloop
public boolean getAutoloop()
クライアントがコンテンツの最後に再生をループする必要があります。
戻り値:
getAutostart
public boolean getAutostart()
クライアントがこのカード内のメディアの再生を自動的に開始する必要があります。
戻り値:
getButtons
public List
ボタンの値を取得します。
戻り値:
getDuration
public String getDuration()
期間の値を取得します。
戻り値:
getImage
public ThumbnailUrl getImage()
イメージ値を取得します。
戻り値:
getMedia
public List
このカードのメディア URL。 このフィールドに複数の URL が含まれている場合、各 URL は同じコンテンツの代替形式になります。
戻り値:
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)
サムネイル/メディア プレースホルダーの縦横比。使用できる値は "16:9" と "4:3" です。
パラメーター:
setAutoloop
public void setAutoloop(boolean withAutoloop)
クライアントがコンテンツの最後に再生をループする必要があります。
パラメーター:
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)
このカードのメディア URL。 このフィールドに複数の URL が含まれている場合、各 URL は同じコンテンツの代替形式になります。
パラメーター:
setMedia
public void setMedia(List
このカードのメディア URL。 このフィールドに複数の URL が含まれている場合、各 URL は同じコンテンツの代替形式になります。
パラメーター:
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} を作成します。
戻り値: