Struct VoiceInfo
Definition
- 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 SourceLanguage
Gets or sets the language of the voice.
Declaration
public string Language { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Type
Gets or sets the type of the voice.
Declaration
public VoiceType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| VoiceType |
Methods
View SourceEquals(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. |
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. |
GetHashCode()
Gets the hash code of this VoiceInfo.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | The hash code. |
Operators
View Sourceoperator ==(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 |
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 |