VideoCard Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| VideoCard() |
Initialisiert eine neue Instanz der VideoCard-Klasse. |
| VideoCard(String, String, String, ThumbnailUrl, IList<MediaUrl>, IList<CardAction>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, Object, String) |
Initialisiert eine neue Instanz der VideoCard-Klasse. |
VideoCard()
Initialisiert eine neue Instanz der VideoCard-Klasse.
public VideoCard();
Public Sub New ()
Gilt für:
VideoCard(String, String, String, ThumbnailUrl, IList<MediaUrl>, IList<CardAction>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, Object, String)
Initialisiert eine neue Instanz der VideoCard-Klasse.
public VideoCard(string title = default, string subtitle = default, string text = default, Microsoft.Bot.Schema.ThumbnailUrl image = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.MediaUrl> media = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.CardAction> buttons = default, bool? shareable = default, bool? autoloop = default, bool? autostart = default, string aspect = default, object value = default, string duration = default);
new Microsoft.Bot.Schema.VideoCard : string * string * string * Microsoft.Bot.Schema.ThumbnailUrl * System.Collections.Generic.IList<Microsoft.Bot.Schema.MediaUrl> * System.Collections.Generic.IList<Microsoft.Bot.Schema.CardAction> * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * obj * string -> Microsoft.Bot.Schema.VideoCard
Public Sub New (Optional title As String = Nothing, Optional subtitle As String = Nothing, Optional text As String = Nothing, Optional image As ThumbnailUrl = Nothing, Optional media As IList(Of MediaUrl) = Nothing, Optional buttons As IList(Of CardAction) = Nothing, Optional shareable As Nullable(Of Boolean) = Nothing, Optional autoloop As Nullable(Of Boolean) = Nothing, Optional autostart As Nullable(Of Boolean) = Nothing, Optional aspect As String = Nothing, Optional value As Object = Nothing, Optional duration As String = Nothing)
Parameter
- title
- String
Titel dieser Karte.
- subtitle
- String
Untertitel dieser Karte.
- text
- String
Text dieser Karte.
- image
- ThumbnailUrl
Vorschaubild-Platzhalter.
Medien-URLs für diese Karte. Wenn dieses Feld mehrere URLs enthält, ist jede URL ein alternatives Format desselben Inhalts.
- buttons
- IList<CardAction>
Aktionen auf dieser Karte.
Sollte der Client am Ende des Inhalts in einer Schleife laufen (default:true).
Sollte der Client automatisch die Wiedergabe von Medien auf dieser Karte starten (default:true).
- aspect
- String
Seitenverhältnis des Platzhalters für Miniaturansichten/Medien. Zulässige Werte sind "16:9" und "4:3".
- value
- Object
Ergänzender Parameter für diese Karte.
- duration
- String
Beschreibt die Länge des Medieninhalts, ohne dass ein Empfänger den Inhalt öffnen muss. Formatiert als ISO 8601 Duration-Feld.