MediaCard Class
- java.
lang. Object - com.
microsoft. bot. schema. MediaCard
- com.
public class MediaCard
Media card.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| MediaCard() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getAspect()
Get the aspect value. |
| boolean |
getAutoloop()
Get the autoloop value. |
| boolean |
getAutostart()
Get the autostart value. |
|
java.util.List<Card |
getButtons()
Get the buttons value. |
| java.lang.String |
getDuration()
Gets the duration value. |
|
Thumbnail |
getImage()
Get the image value. |
|
java.util.List<Media |
getMedia()
Get the media value. |
| boolean |
getShareable()
Get the shareable value. |
| java.lang.String |
getSubtitle()
Get the subtitle value. |
| java.lang.String |
getText()
Get the text value. |
| java.lang.String |
getTitle()
Get the title value. |
| java.lang.Object |
getValue()
Get the value value. |
| void |
setAspect(String withAspect)
Set the aspect value. |
| void |
setAutoloop(boolean withAutoloop)
Set the autoloop value. |
| void |
setAutostart(boolean withAutostart)
Set the autostart value. |
| void |
setButtons(List<CardAction> withButtons)
Set the buttons value. |
| void |
setDuration(String withDuration)
Sets the duration value. |
| void |
setImage(ThumbnailUrl withImage)
Set the image value. |
| void |
setMedia(List<MediaUrl> withMedia)
Set the media value. |
| void |
setShareable(boolean withShareable)
Set the shareable value. |
| void |
setSubtitle(String withSubtitle)
Set the subtitle value. |
| void |
setText(String withText)
Set the text value. |
| void |
setTitle(String withTitle)
Set the title value. |
| void |
setValue(Object withValue)
Set the value value. |
Methods inherited from java.lang.Object
Constructor Details
MediaCard
public MediaCard()
Method Details
getAspect
public String getAspect()
Get the aspect value.
Returns:
getAutoloop
public boolean getAutoloop()
Get the autoloop value.
Returns:
getAutostart
public boolean getAutostart()
Get the autostart value.
Returns:
getButtons
public List
Get the buttons value.
Returns:
getDuration
public String getDuration()
Gets the duration value.
Returns:
getImage
public ThumbnailUrl getImage()
Get the image value.
Returns:
getMedia
public List
Get the media value.
Returns:
getShareable
public boolean getShareable()
Get the shareable value.
Returns:
getSubtitle
public String getSubtitle()
Get the subtitle value.
Returns:
getText
public String getText()
Get the text value.
Returns:
getTitle
public String getTitle()
Get the title value.
Returns:
getValue
public Object getValue()
Get the value value.
Returns:
setAspect
public void setAspect(String withAspect)
Set the aspect value.
Parameters:
setAutoloop
public void setAutoloop(boolean withAutoloop)
Set the autoloop value.
Parameters:
setAutostart
public void setAutostart(boolean withAutostart)
Set the autostart value.
Parameters:
setButtons
public void setButtons(List
Set the buttons value.
Parameters:
setDuration
public void setDuration(String withDuration)
Sets the duration value.
Parameters:
setImage
public void setImage(ThumbnailUrl withImage)
Set the image value.
Parameters:
setMedia
public void setMedia(List
Set the media value.
Parameters:
setShareable
public void setShareable(boolean withShareable)
Set the shareable value.
Parameters:
setSubtitle
public void setSubtitle(String withSubtitle)
Set the subtitle value.
Parameters:
setText
public void setText(String withText)
Set the text value.
Parameters:
setTitle
public void setTitle(String withTitle)
Set the title value.
Parameters:
setValue
public void setValue(Object withValue)
Set the value value.
Parameters: