Skip to main content
←API Reference ←com.nianticspatial.nsdk.playback

PlaybackDatasetSource


Declaration​

interface PlaybackDatasetSource

Summary​

Abstraction for loading playback dataset data from a source (assets, file, etc.). Used for on-demand frame loading: [PlaybackDataset] calls these methods when frames are requested.


Functions​

NameTypeSummary
infoString
Optional description of the loader (e.g. for logging).
loadCaptureJsonByteArray?
Loads the capture JSON data.
loadDepthConfidenceByteArray?
Loads depth confidence on-demand (UInt8 binary).
loadDepthDataByteArray?
Loads depth data on-demand (Float32 binary).
loadImageByteArray?
Loads an image file on-demand.

Relationships​

derived: PlaybackDatasetLoader