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

getDepthConfidenceAtIndex

Loads depth confidence (UInt8 binary) at [index] on-demand. Returns null if not available.

Declaration​

@Deprecated( "Will be removed in a future release. Use getPlaybackFrameAtIndex(index).depthConfidence.", level = DeprecationLevel.WARNING ) fun getDepthConfidenceAtIndex(index: Int): ByteArray?

Summary​

Loads depth confidence (UInt8 binary) at index on-demand. Returns null if not available.

Throws​

  • PlaybackDatasetError.IndexOutOfBounds — if index is invalid.

Parameters​

NameTypeSummary
indexInt
-