Skip to main content
←API Reference ←com.nianticspatial.nsdk.awareness.scenesegmentation ←SceneSegmentationSession

latestSuppressionMask


Declaration​

fun latestSuppressionMask(): NSDKResult<SceneSegmentationResult, AwarenessStatus>

Summary​

Gets the latest suppression mask data.


This retrieves the most recent suppression mask for semantic
classification of the current frame.

Returns​

ARDKResult containing suppression mask data if successful, or error information

Throws​

  • NsdkStatusException — if there was an internal error

See also​

  • channelNames
  • latestConfidence
  • latestPackedChannel