# From Source: https://www.nianticspatial.com/docs/api/kotlin/com.nianticspatial.nsdk.awareness.scenesegmentation.SceneSegmentationChannel.From/ 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 | Name | Type | Summary | | --- | --- | --- | | code | Int | The integer value of the channel. | ---