ArTrack
External data recording.
Summary
Typedefs |
|
---|---|
ArTrack
|
typedefstruct ArTrack_
A track recording configuration struct of type data. |
Functions |
|
---|---|
ArTrack_create(const ArSession *session, ArTrack **out_track)
|
void
Initializes an
ArTrack . |
ArTrack_destroy(ArTrack *track)
|
void
Releases memory used by the provided data track config object.
|
ArTrack_setId(const ArSession *session, ArTrack *track, const uint8_t *track_id_uuid_16)
|
void
Sets the Track Id.
|
ArTrack_setMetadata(const ArSession *session, ArTrack *track, const uint8_t *track_metadata_buffer, size_t track_metadata_buffer_size)
|
void
Sets the Track Metadata.
|
ArTrack_setMimeType(const ArSession *session, ArTrack *track, const char *mime_type)
|
void
Sets the MIME type for the Data Track.
|
Typedefs
ArTrack
struct ArTrack_ ArTrack
A track recording configuration struct of type data.
(value type).
- Create with:
ArTrack_create
- Release with:
ArTrack_destroy
Functions
ArTrack_destroy
void ArTrack_destroy( ArTrack *track )
Releases memory used by the provided data track config object.
Details | |||
---|---|---|---|
Parameters |
|
ArTrack_setId
void ArTrack_setId( const ArSession *session, ArTrack *track, const uint8_t *track_id_uuid_16 )
Sets the Track Id.
Details | |||||||
---|---|---|---|---|---|---|---|
Parameters |
|
ArTrack_setMetadata
void ArTrack_setMetadata( const ArSession *session, ArTrack *track, const uint8_t *track_metadata_buffer, size_t track_metadata_buffer_size )
Sets the Track Metadata.
Details | |||||||||
---|---|---|---|---|---|---|---|---|---|
Parameters |
|
ArTrack_setMimeType
void ArTrack_setMimeType( const ArSession *session, ArTrack *track, const char *mime_type )
Sets the MIME type for the Data Track.
Default value is "application/text".
Details | |||||||
---|---|---|---|---|---|---|---|
Parameters |
|