AnimationCard Clase
- java.
lang. Object - com.
microsoft. bot. schema. AnimationCard
- com.
public class AnimationCard
Una tarjeta de animación (por ejemplo: gif o clip de vídeo corto).
Resumen del campo
| Modificador y tipo | Campo y descripción |
|---|---|
| static final java.lang.String | CONTENTTYPE |
Resumen del constructor
| Constructor | Description | |
|---|---|---|
| AnimationCard() | ||
Resumen del método
| Modificador y tipo | Método y descripción |
|---|---|
| java.lang.String |
getAspect()
Obtenga el valor de aspecto. |
| boolean |
getAutoloop()
Obtenga el valor de autoloop. |
| boolean |
getAutostart()
Obtenga el valor de inicio automático. |
|
java.util.List<Card |
getButtons()
Obtenga el valor de los botones. |
| java.lang.String |
getDuration()
Obtiene el valor de duración. |
|
Thumbnail |
getImage()
Obtenga el valor de la imagen. |
|
java.util.List<Media |
getMedia()
Obtenga el valor multimedia. |
| boolean |
getShareable()
Obtenga el valor que se puede compartir. |
| java.lang.String |
getSubtitle()
Obtenga el valor del subtítulo. |
| java.lang.String |
getText()
Obtenga el valor de texto. |
| java.lang.String |
getTitle()
Obtenga el valor del título. |
| java.lang.Object |
getValue()
Obtiene el valor. |
| void |
setAspect(String withAspect)
Establezca el valor de aspecto. |
| void |
setAutoloop(boolean withAutoloop)
Establezca el valor de autoloop. |
| void |
setAutostart(boolean withAutostart)
Establezca el valor de inicio automático. |
| void |
setButtons(CardAction[] withButtons)
Establezca el valor de los botones. |
| void |
setButtons(List<CardAction> withButtons)
Establezca el valor de los botones. |
| void |
setDuration(String withDuration)
Establece el valor de duración. |
| void |
setImage(ThumbnailUrl withImage)
Establezca el valor de la imagen. |
| void |
setMedia(MediaUrl[] withMedia)
Establezca el valor multimedia. |
| void |
setMedia(List<MediaUrl> withMedia)
Establezca el valor multimedia. |
| void |
setShareable(boolean withShareable)
Establezca el valor que se puede compartir. |
| void |
setSubtitle(String withSubtitle)
Establezca el valor del subtítulo. |
| void |
setText(String withText)
Establezca el valor de texto. |
| void |
setTitle(String withTitle)
Establezca el valor de título. |
| void |
setValue(Object withValue)
Establezca el valor. |
| Attachment |
toAttachment()
Crea un archivo @{link Attachment} para esta tarjeta. |
Métodos heredados de java.lang.Object
Detalles del campo
CONTENTTYPE
public static final String CONTENTTYPE
Detalles del constructor
AnimationCard
public AnimationCard()
Detalles del método
getAspect
public String getAspect()
Obtenga el valor de aspecto.
Devoluciones:
getAutoloop
public boolean getAutoloop()
Obtenga el valor de autoloop.
Devoluciones:
getAutostart
public boolean getAutostart()
Obtenga el valor de inicio automático.
Devoluciones:
getButtons
public List
Obtenga el valor de los botones.
Devoluciones:
getDuration
public String getDuration()
Obtiene el valor de duración.
Devoluciones:
getImage
public ThumbnailUrl getImage()
Obtenga el valor de la imagen.
Devoluciones:
getMedia
public List
Obtenga el valor multimedia.
Devoluciones:
getShareable
public boolean getShareable()
Obtenga el valor que se puede compartir.
Devoluciones:
getSubtitle
public String getSubtitle()
Obtenga el valor del subtítulo.
Devoluciones:
getText
public String getText()
Obtenga el valor de texto.
Devoluciones:
getTitle
public String getTitle()
Obtenga el valor del título.
Devoluciones:
getValue
public Object getValue()
Obtiene el valor.
Devoluciones:
setAspect
public void setAspect(String withAspect)
Establezca el valor de aspecto.
Parámetros:
setAutoloop
public void setAutoloop(boolean withAutoloop)
Establezca el valor de autoloop.
Parámetros:
setAutostart
public void setAutostart(boolean withAutostart)
Establezca el valor de inicio automático.
Parámetros:
setButtons
public void setButtons(CardAction[] withButtons)
Establezca el valor de los botones.
Parámetros:
setButtons
public void setButtons(List
Establezca el valor de los botones.
Parámetros:
setDuration
public void setDuration(String withDuration)
Establece el valor de duración.
Parámetros:
setImage
public void setImage(ThumbnailUrl withImage)
Establezca el valor de la imagen.
Parámetros:
setMedia
public void setMedia(MediaUrl[] withMedia)
Establezca el valor multimedia.
Parámetros:
setMedia
public void setMedia(List
Establezca el valor multimedia.
Parámetros:
setShareable
public void setShareable(boolean withShareable)
Establezca el valor que se puede compartir.
Parámetros:
setSubtitle
public void setSubtitle(String withSubtitle)
Establezca el valor del subtítulo.
Parámetros:
setText
public void setText(String withText)
Establezca el valor de texto.
Parámetros:
setTitle
public void setTitle(String withTitle)
Establezca el valor de título.
Parámetros:
setValue
public void setValue(Object withValue)
Establezca el valor.
Parámetros:
toAttachment
public Attachment toAttachment()
Crea un archivo @{link Attachment} para esta tarjeta.
Devoluciones: