Search Results for

    Show / Hide Table of Contents

    Class Segment

    Inheritance
    object
    Segment
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Google
    Assembly: Glitch9.AIDevKit.Provider.Google.dll
    Syntax
    public class Segment

    Properties

    | Edit this page View Source

    EndIndex

    Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero.

    Declaration
    [JsonProperty("endIndex")]
    public int EndIndex { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    PartIndex

    Output only. The index of a Part object within its parent Content object.

    Declaration
    [JsonProperty("partIndex")]
    public int PartIndex { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    StartIndex

    Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero.

    Declaration
    [JsonProperty("startIndex")]
    public int StartIndex { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Text

    Output only. The text corresponding to the segment from the response.

    Declaration
    [JsonProperty("text")]
    public string Text { get; set; }
    Property Value
    Type Description
    string

    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