Struct VoiceInfo

    Definition

    Namespace:
    Tizen.AIAvatar
    Assembly:
    Tizen.AIAvatar.dll

    VoiceInfo stores information about a voice. The 'Language' field stores the language of the voice The 'Type' field stores the type of the voice.

    public struct VoiceInfo : IEquatable<VoiceInfo>
    Implements
    IEquatable<><VoiceInfo>

    Properties

    View Source

    Language

    Gets or sets the language of the voice.

    Declaration
    public string Language { get; set; }
    Property Value
    Type Description
    string
    View Source

    Type

    Gets or sets the type of the voice.

    Declaration
    public VoiceType Type { get; set; }
    Property Value
    Type Description
    VoiceType

    Methods

    View Source

    Equals(object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if equal VoiceInfo, else false.

    View Source

    Equals(VoiceInfo)

    Determines whether the specified object is equal to the current object.

    Declaration
    public bool Equals(VoiceInfo other)
    Parameters
    Type Name Description
    VoiceInfo other

    The VoiceInfo to compare with the current VoiceInfo.

    Returns
    Type Description
    bool

    true if equal VoiceInfo, else false.

    View Source

    GetHashCode()

    Gets the hash code of this VoiceInfo.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    The hash code.

    Operators

    View Source

    operator ==(VoiceInfo, VoiceInfo)

    The == operator.

    Declaration
    public static bool operator ==(VoiceInfo lhsVoiceInfo, VoiceInfo rhsVoiceInfo)
    Parameters
    Type Name Description
    VoiceInfo lhsVoiceInfo

    VoiceInfo to compare

    VoiceInfo rhsVoiceInfo

    VoiceInfo to be compared

    Returns
    Type Description
    bool

    true if VoiceInfo are equal

    View Source

    operator !=(VoiceInfo, VoiceInfo)

    The != operator.

    Declaration
    public static bool operator !=(VoiceInfo lhsVoiceInfo, VoiceInfo rhsVoiceInfo)
    Parameters
    Type Name Description
    VoiceInfo lhsVoiceInfo

    VoiceInfo to compare

    VoiceInfo rhsVoiceInfo

    VoiceInfo to be compared

    Returns
    Type Description
    bool

    true if VoiceInfo are not equal

    Implements

    IEquatable<>

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX