TrackData

public class TrackData

Data that was recorded to a track. This data can be queried via Frame.getUpdatedTrackData(UUID) during playback.

Public Methods

void
close ()
Release the native resources for this object.
ByteBuffer
getData ()
Get the byte data recorded using Frame.recordTrackData(UUID, ByteBuffer) .
long
getFrameTimestamp ()
Retrieves the timestamp in nanoseconds of the frame this TrackData was recorded on via Frame.recordTrackData(UUID, ByteBuffer) .

Inherited Methods

Public Methods

close

 public 
  
 void 
  
 close 
 () 

Release the native resources for this object.

getData

 public 
  
  ByteBuffer 
 
  
 getData 
 () 

Get the byte data recorded using Frame.recordTrackData(UUID, ByteBuffer) . The ByteBuffer's limit and capacity with both be set to the limit of the ByteBuffer passed in to Frame.recordTrackData(UUID, ByteBuffer) when this was recorded.

getFrameTimestamp

 public 
  
 long 
  
 getFrameTimestamp 
 () 

Retrieves the timestamp in nanoseconds of the frame this TrackData was recorded on via Frame.recordTrackData(UUID, ByteBuffer) . This timestamp is equal to the result of Frame.getTimestamp() on the frame when Frame.recordTrackData(UUID, ByteBuffer) was called.

Create a Mobile Website
View Site in Mobile | Classic
Share by: