Compartilhar via


AnimationCard Class

Definition

An animation card (Ex: gif or short video clip).

public class AnimationCard
type AnimationCard = class
Public Class AnimationCard
Inheritance
AnimationCard

Constructors

Name Description
AnimationCard()

Initializes a new instance of AnimationCard.

AnimationCard(String, String, String, ThumbnailUrl, IList<MediaUrl>, IList<CardAction>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, Object, String)

Initializes a new instance of AnimationCard.

Fields

Name Description
ContentType

The content type value of a AnimationCard.

Properties

Name Description
Aspect

Aspect ratio of thumbnail/media placeholder. Allowed values are Standard and WideScreen.

Autoloop

Should the client loop playback at end of content (default:true).

Autostart

Should the client automatically start playback of media in this card (default:true).

Buttons

Actions on this card.

Duration

Describes the length of the media content without requiring a receiver to open the content. Formatted as an ISO 8601 Duration field.

Image

Thumbnail URL.

Media

Media URLs for this card. When this field contains more than one URL, each URL is an alternative format of the same content.

Shareable

This content may be shared with others (default:true).

Subtitle

Subtitle of this card.

Text

Text of this card.

Title

Title of this card.

Value

Supplementary parameter for this card.

Methods

Name Description
ToAttachment()

Creates a new attachment from AnimationCard.

Extension Methods

Name Description
ToAttachment(AnimationCard)

Creates a new attachment from AnimationCard.

Applies to