AnimationCard Class

Definition

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

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

Constructors

AnimationCard()

Initializes a new instance of the AnimationCard class.

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

Initializes a new instance of the AnimationCard class.

Fields

ContentType

The content type value of a AnimationCard.

Properties

Aspect

Gets or sets aspect ratio of thumbnail/media placeholder. Allowed values are "16:9" and "4:3".

Autoloop

Gets or sets should the client loop playback at end of content (default:true).

Autostart

Gets or sets should the client automatically start playback of media in this card (default:true).

Buttons

Gets or sets actions on this card.

Duration

Gets or sets describes the length of the media content without requiring a receiver to open the content. Formatted as an ISO 8601 Duration field.

Image

Gets or sets thumbnail placeholder.

Media

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

Shareable

Gets or sets this content may be shared with others (default:true).

Subtitle

Gets or sets subtitle of this card.

Text

Gets or sets text of this card.

Title

Gets or sets title of this card.

Value

Gets or sets supplementary parameter for this card.

Extension Methods

ToAttachment(AnimationCard)

Creates a new attachment from AnimationCard.

Applies to