AnimationCard Clase

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

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

Obtenga el valor de los botones.

java.lang.String getDuration()

Obtiene el valor de duración.

ThumbnailUrl getImage()

Obtenga el valor de la imagen.

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

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

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:

el valor de aspecto

getAutoloop

public boolean getAutoloop()

Obtenga el valor de autoloop.

Devoluciones:

el valor de autoloop

getAutostart

public boolean getAutostart()

Obtenga el valor de inicio automático.

Devoluciones:

el valor de inicio automático

getButtons

public List getButtons()

Obtenga el valor de los botones.

Devoluciones:

el valor de los botones

getDuration

public String getDuration()

Obtiene el valor de duración.

Devoluciones:

Duración de la animación.

getImage

public ThumbnailUrl getImage()

Obtenga el valor de la imagen.

Devoluciones:

el valor de la imagen

getMedia

public List getMedia()

Obtenga el valor multimedia.

Devoluciones:

el valor multimedia

getShareable

public boolean getShareable()

Obtenga el valor que se puede compartir.

Devoluciones:

el valor que se puede compartir

getSubtitle

public String getSubtitle()

Obtenga el valor del subtítulo.

Devoluciones:

el valor del subtítulo

getText

public String getText()

Obtenga el valor de texto.

Devoluciones:

el valor de texto

getTitle

public String getTitle()

Obtenga el valor del título.

Devoluciones:

el valor del título

getValue

public Object getValue()

Obtiene el valor.

Devoluciones:

el valor del valor

setAspect

public void setAspect(String withAspect)

Establezca el valor de aspecto.

Parámetros:

withAspect - valor de aspecto que se va a establecer

setAutoloop

public void setAutoloop(boolean withAutoloop)

Establezca el valor de autoloop.

Parámetros:

withAutoloop - el valor de autoloop que se va a establecer

setAutostart

public void setAutostart(boolean withAutostart)

Establezca el valor de inicio automático.

Parámetros:

withAutostart - valor de inicio automático que se va a establecer

setButtons

public void setButtons(CardAction[] withButtons)

Establezca el valor de los botones.

Parámetros:

withButtons - el valor de botones que se va a establecer

setButtons

public void setButtons(List withButtons)

Establezca el valor de los botones.

Parámetros:

withButtons - el valor de botones que se va a establecer

setDuration

public void setDuration(String withDuration)

Establece el valor de duración.

Parámetros:

withDuration - el valor de duración que se va a establecer

setImage

public void setImage(ThumbnailUrl withImage)

Establezca el valor de la imagen.

Parámetros:

withImage - valor de imagen que se va a establecer

setMedia

public void setMedia(MediaUrl[] withMedia)

Establezca el valor multimedia.

Parámetros:

withMedia - valor multimedia que se va a establecer

setMedia

public void setMedia(List withMedia)

Establezca el valor multimedia.

Parámetros:

withMedia - valor multimedia que se va a establecer

setShareable

public void setShareable(boolean withShareable)

Establezca el valor que se puede compartir.

Parámetros:

withShareable - el valor que se puede compartir que se va a establecer

setSubtitle

public void setSubtitle(String withSubtitle)

Establezca el valor del subtítulo.

Parámetros:

withSubtitle - el valor del subtítulo que se va a establecer

setText

public void setText(String withText)

Establezca el valor de texto.

Parámetros:

withText - el valor de texto que se va a establecer

setTitle

public void setTitle(String withTitle)

Establezca el valor de título.

Parámetros:

withTitle - valor de título que se va a establecer

setValue

public void setValue(Object withValue)

Establezca el valor.

Parámetros:

withValue - valor que se va a establecer

toAttachment

public Attachment toAttachment()

Crea un archivo @{link Attachment} para esta tarjeta.

Devoluciones:

Objeto Attachment que contiene la tarjeta.

Se aplica a