Share via


MediaCard Class

Definition

Media card.

public class MediaCard
type MediaCard = class
Public Class MediaCard
Inheritance
MediaCard

Constructors

MediaCard()

Initializes a new instance of the MediaCard class.

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

Initializes a new instance of the MediaCard class.

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.

Applies to