protocol.TrackContent
This structure represents the actual content of an audio file. This object can either wrap a file (whereby size and content are calculated) or can be used as a container for independent specified path, size, and data fields. If constructed using a file, or if a file is set, this class becomes immutable.
Parameter | Optional | Max Allowed | DataType | Notes |
---|---|---|---|---|
path | no | 1 | text | the relative path of the audio file |
size | no | 1 | text | file size in bytes |
data | no | 1 | text | file content, base64 encoded |
Example xml:
<tc> <path>Flight Over Rio.mp3</path> <size>12345</size> <data>SomeBase64EncodedData</data> </tc>