AudioDetails
public struct AudioDetails : Codable, Equatable
Information about an audio resource from a custom acoustic model.
-
The type of the audio resource:
audiofor an individual audio filearchivefor an archive (.zip or .tar.gz) file that contains audio filesundeterminedfor a resource that the service cannot validate (for example, if the user mistakenly passes a file that does not contain audio, such as a JPEG file).
Declaration
Swift
public enum TypeEnum : String -
For an archive-type resource, the format of the compressed archive:
zipfor a .zip filegzipfor a .tar.gz file Omitted for an audio-type resource.
Declaration
Swift
public enum Compression : String -
The type of the audio resource:
audiofor an individual audio filearchivefor an archive (.zip or .tar.gz) file that contains audio filesundeterminedfor a resource that the service cannot validate (for example, if the user mistakenly passes a file that does not contain audio, such as a JPEG file).
Declaration
Swift
public var type: String? -
For an audio-type resource, the codec in which the audio is encoded. Omitted for an archive-type resource.
Declaration
Swift
public var codec: String? -
For an audio-type resource, the sampling rate of the audio in Hertz (samples per second). Omitted for an archive-type resource.
Declaration
Swift
public var frequency: Int? -
For an archive-type resource, the format of the compressed archive:
zipfor a .zip filegzipfor a .tar.gz file Omitted for an audio-type resource.
Declaration
Swift
public var compression: String?
View on GitHub
AudioDetails Structure Reference