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

loadDataset

Loads the dataset with a custom image decoder (e.g. { null } in unit tests to avoid [BitmapFactory] not mocked).

Declaration

open fun loadDataset(): PlaybackDataset?

Summary

Loads the dataset: reads capture JSON from this source and returns a [PlaybackDataset] that uses this loader for on-demand frame loading.

Returns

The dataset, or null if JSON is missing or invalid.