Track

public class Track

Configuration of a Track for recording data on session recording.

Public Constructors

Track(Session session)
Creates a new Track.

Public Methods

Track
setId(UUID trackUuid)
Sets the ID of the track.
Track
setMetadata(ByteBuffer metadata)
Sets the track metadata.
Track
setMimeType(String mimeType)
Sets the mime type for the external data track.

Inherited Methods

Public Constructors

Track

public Track(
  Session session
)

Creates a new Track.

Details
Parameters
session

Public Methods

setId

public Track setId(
  UUID trackUuid
)

Sets the ID of the track. This ID is required and will be the same ID used to retrieve data during playback.

Details
Parameters
trackUuid

setMetadata

public Track setMetadata(
  ByteBuffer metadata
)

Sets the track metadata. This is arbitrary data used to describe the track.

Details
Parameters
metadata

setMimeType

public Track setMimeType(
  String mimeType
)

Sets the mime type for the external data track. This will be the MIME type set on the additional stream created for this Track, another convenient means of identification, particularly for applications that do not support UUID as a means of identification.

Details
Parameters
mimeType