Search Results for

    Show / Hide Table of Contents

    Class VideoContentData

    Inheritance
    object
    VideoContentData
    Implements
    IContentData
    IBase64Source
    IUrlSource
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public sealed class VideoContentData : IContentData, IBase64Source, IUrlSource

    Properties

    | Edit this page View Source

    Url

    The URL of the video to be sent to the model. A fully qualified URL or base64 encoded video in a data URL.

    Declaration
    public string Url { get; set; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    GetBase64String()

    Declaration
    public string GetBase64String()
    Returns
    Type Description
    string
    | Edit this page View Source

    GetDownloadUrl()

    Declaration
    public string GetDownloadUrl()
    Returns
    Type Description
    string
    | Edit this page View Source

    IsBase64()

    Indicates if the video is in base64 format. This is true if the URL starts with "data:video/mp4;base64,".

    Declaration
    public bool IsBase64()
    Returns
    Type Description
    bool
    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    IContentData
    IBase64Source
    IUrlSource

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation