Audio
Audio class
Represents an embedded audio file.
getBinaryData
| Name | Description |
|---|
| getBinaryData() | Returns the copy of an audio’s data. In case of large amount of data consider using of #getStream method to prevent unnecessary loading of audio’s data into memory or even OutOfMemoryException. Read-only byte[]. |
Result:
byte
getContentType
| Name | Description |
|---|
| getContentType() | Returns a MIME type of an audio, encoded in ( #getBinaryData). Read-only String. |
Result:
String
| Name | Description |
|---|
| getParent_Immediate() | |
getStream
| Name | Description |
|---|
| getStream() | Returns Stream stream for reading. Use ‘using’ or close stream after using. |
Result:
InputStream
setContentType
| Name | Description |
|---|
| setContentType(String) | Returns a MIME type of an audio, encoded in ( #getBinaryData). Read-only String. |