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

From

Converts an integer code from the native layer into a SceneSegmentationChannel.

Declaration​

@JvmStatic fun From(code: Int): SceneSegmentationChannel?

Summary​

Converts an integer code from the native layer into a SceneSegmentationChannel.

Returns​

The corresponding SceneSegmentationChannel, or null if the code is not recognized.

Parameters​

NameTypeSummary
codeInt
The integer value of the channel.