Audio class

Audio class

Represents an embedded audio file.

The Audio type exposes the following members:

Properties

PropertyDescription
content_typeReturns a MIME type of an audio, encoded in Audio.binary_data.
Read-only str.
binary_dataReturns the copy of an audio’s data. In case of large amount of data consider
using of Audio.get_stream method to prevent unnecessary loading of audio’s
data into memory or even OutOfMemoryException.
Read-only int[].

Methods

MethodDescription
get_streamReturns Stream stream for reading.
Use ‘using’ or close stream after using.

See Also