MediaCard Class

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

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<CardAction> getButtons()

Get the buttons value.

java.lang.String getDuration()

Gets the duration value.

ThumbnailUrl getImage()

Get the image value.

java.util.List<MediaUrl> 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

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

Constructor Details

MediaCard

public MediaCard()

Method Details

getAspect

public String getAspect()

Get the aspect value.

Returns:

the aspect value

getAutoloop

public boolean getAutoloop()

Get the autoloop value.

Returns:

the autoloop value

getAutostart

public boolean getAutostart()

Get the autostart value.

Returns:

the autostart value

getButtons

public List getButtons()

Get the buttons value.

Returns:

the buttons value

getDuration

public String getDuration()

Gets the duration value.

Returns:

The duration of the media.

getImage

public ThumbnailUrl getImage()

Get the image value.

Returns:

the image value

getMedia

public List getMedia()

Get the media value.

Returns:

the media value

getShareable

public boolean getShareable()

Get the shareable value.

Returns:

the shareable value

getSubtitle

public String getSubtitle()

Get the subtitle value.

Returns:

the subtitle value

getText

public String getText()

Get the text value.

Returns:

the text value

getTitle

public String getTitle()

Get the title value.

Returns:

the title value

getValue

public Object getValue()

Get the value value.

Returns:

the value value

setAspect

public void setAspect(String withAspect)

Set the aspect value.

Parameters:

withAspect - the aspect value to set

setAutoloop

public void setAutoloop(boolean withAutoloop)

Set the autoloop value.

Parameters:

withAutoloop - the autoloop value to set

setAutostart

public void setAutostart(boolean withAutostart)

Set the autostart value.

Parameters:

withAutostart - the autostart value to set

setButtons

public void setButtons(List withButtons)

Set the buttons value.

Parameters:

withButtons - the buttons value to set

setDuration

public void setDuration(String withDuration)

Sets the duration value.

Parameters:

withDuration - the duration value to set

setImage

public void setImage(ThumbnailUrl withImage)

Set the image value.

Parameters:

withImage - the image value to set

setMedia

public void setMedia(List withMedia)

Set the media value.

Parameters:

withMedia - the media value to set

setShareable

public void setShareable(boolean withShareable)

Set the shareable value.

Parameters:

withShareable - the shareable value to set

setSubtitle

public void setSubtitle(String withSubtitle)

Set the subtitle value.

Parameters:

withSubtitle - the subtitle value to set

setText

public void setText(String withText)

Set the text value.

Parameters:

withText - the text value to set

setTitle

public void setTitle(String withTitle)

Set the title value.

Parameters:

withTitle - the title value to set

setValue

public void setValue(Object withValue)

Set the value value.

Parameters:

withValue - the value value to set

Applies to