Skip to main content
←API Reference ←com.nianticspatial.nsdk ←FeatureStatus

From

Converts a status code to a FeatureStatus.

Declaration​

fun From(code: Int): FeatureStatus?

Summary​

Converts a status code to a FeatureStatus.

Returns​

The corresponding FeatureStatus, or null if the code does not match exactly one status. A code with several statuses set at once matches no single entry.

Parameters​

NameTypeSummary
codeInt
The status code to convert