Stay organized with collections
Save and categorize content based on your preferences.
Track
Definition of a track to record on.
Data recorded to a given track will be muxed into a corresponding MP4 stream.
Summary
Public attributes
|
Id
|
Unique ID for the track.
|
Metadata
|
byte[]
Arbitrary byte array describing the track.
|
MimeType
|
string
MIME type of the track data as a null terminated string.
|
Public attributes
Id
Guid Google::XR::ARCoreExtensions::Track::Id
byte[] Google::XR::ARCoreExtensions::Track::Metadata
Arbitrary byte array describing the track.
The encoding is the user's choice. This is a null-terminated string.
MimeType
string Google::XR::ARCoreExtensions::Track::MimeType
MIME type of the track data as a null terminated string.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-14 UTC.
[null,null,["Last updated 2025-07-14 UTC."],[[["\u003cp\u003eA track is a designated space for recording data that will be incorporated into an MP4 stream.\u003c/p\u003e\n"],["\u003cp\u003eEach track has a unique ID, metadata (user-defined descriptive data), and a MIME type specifying the data format.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMetadata\u003c/code\u003e attribute allows users to attach custom descriptive information to a track using a byte array.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMimeType\u003c/code\u003e attribute identifies the type of data stored in the track using a null-terminated string.\u003c/p\u003e\n"]]],["A track is defined for recording, with data subsequently muxed into an MP4 stream. Key attributes include a unique `Id` (Guid), arbitrary `Metadata` (byte array), and `MimeType` (string) representing the track's data type. The `Id` is a unique identifier, `Metadata` is a customizable byte array, and `MimeType` describes the track's data format, encoded as a null-terminated string. Users decide the `Metadata` encoding.\n"],null,["# Track Struct Reference\n\nTrack\n=====\n\nDefinition of a track to record on.\n\nData recorded to a given track will be muxed into a corresponding MP4 stream.\n\nSummary\n-------\n\n| ### Public attributes ||\n|-----------------------|------------------------------------------------------------------------------------------|\n| [Id](#id) | [Guid](https://docs.microsoft.com/en-us/dotnet/api/System.Guid) Unique ID for the track. |\n| [Metadata](#metadata) | `byte[]` Arbitrary byte array describing the track. |\n| [MimeType](#mimetype) | `string` MIME type of the track data as a null terminated string. |\n\nPublic attributes\n-----------------\n\n### Id\n\n```c#\nGuid Google::XR::ARCoreExtensions::Track::Id\n``` \nUnique ID for the track. \n\n### Metadata\n\n```c#\nbyte[] Google::XR::ARCoreExtensions::Track::Metadata\n``` \nArbitrary byte array describing the track.\n\nThe encoding is the user's choice. This is a null-terminated string. \n\n### MimeType\n\n```c#\nstring Google::XR::ARCoreExtensions::Track::MimeType\n``` \nMIME type of the track data as a null terminated string."]]