Struct AudioContentFormat
A representation of the possible audio formats for audio.
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.AI.Inference.dll
Syntax
public struct AudioContentFormat : IEquatable<Azure.AI.Inference.AudioContentFormat>
Constructors
AudioContentFormat(String)
Initializes a new instance of AudioContentFormat.
Declaration
public AudioContentFormat (string value);
Parameters
|
System.String
value
|
Exceptions
|
System.ArgumentNullException
|
Properties
Mp3
Specifies audio in MP3 format.
Declaration
public static Azure.AI.Inference.AudioContentFormat Mp3 { get; }
Property Value
|
AudioContentFormat
|
Wav
Specifies audio in WAV format.
Declaration
public static Azure.AI.Inference.AudioContentFormat Wav { get; }
Property Value
|
AudioContentFormat
|
Methods
Equals(AudioContentFormat)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals (Azure.AI.Inference.AudioContentFormat other);
Parameters
|
AudioContentFormat
other
An object to compare with this object. |
Returns
|
System.Boolean
|
Equals(Object)
Indicates whether this instance and a specified object are equal.
Declaration
[System.ComponentModel.EditorBrowsable]
public override bool Equals (object obj);
Parameters
|
System.Object
obj
The object to compare with the current instance. |
Returns
|
System.Boolean
|
GetHashCode()
Returns the hash code for this instance.
Declaration
[System.ComponentModel.EditorBrowsable]
public override int GetHashCode ();
Returns
|
System.Int32
A 32-bit signed integer that is the hash code for this instance. |
ToString()
Returns the fully qualified type name of this instance.
Declaration
public override string ToString ();
Returns
|
System.String
The fully qualified type name. |
Operators
Equality(AudioContentFormat, AudioContentFormat)
Determines if two AudioContentFormat values are the same.
Declaration
public static bool operator == (Azure.AI.Inference.AudioContentFormat left, Azure.AI.Inference.AudioContentFormat right);
Parameters
|
AudioContentFormat
left
|
|
AudioContentFormat
right
|
Returns
|
System.Boolean
|
Implicit(String to AudioContentFormat)
Converts a System.String to a AudioContentFormat.
Declaration
public static implicit operator Azure.AI.Inference.AudioContentFormat (string value);
Parameters
|
System.String
value
|
Returns
|
AudioContentFormat
|
Inequality(AudioContentFormat, AudioContentFormat)
Determines if two AudioContentFormat values are not the same.
Declaration
public static bool operator != (Azure.AI.Inference.AudioContentFormat left, Azure.AI.Inference.AudioContentFormat right);
Parameters
|
AudioContentFormat
left
|
|
AudioContentFormat
right
|
Returns
|
System.Boolean
|