Skip to main content

ARDK for Android/com.nianticlabs.ardk.awareness.semantics/SemanticsSession/latestSuppressionMask

latestSuppressionMask

[androidJvm]
fun latestSuppressionMask(): ARDKResult<SemanticsResult, AwarenessStatus>

Gets the latest suppression mask data.

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

Return​

ARDKResult containing suppression mask data if successful, or error information

See also​

SemanticsSession.channelNames
SemanticsSession.latestConfidence
SemanticsSession.latestPackedChannel

Throws​

ArdkStatusExceptionif there was an internal error