Skip to main content
API Reference com.nianticspatial.nsdk

NSDKResult

ResultDeprecated wrapper for NSDK operations that can succeed or fail. NSDKResult is a Kotlin sealed class designed to provide a type-safe abstraction over the return values of low-level C APIs. Instead of directly handling raw integer status codes from the C layer, Kotlin callers receive structured results as either Success or Error.

Declaration

sealed class NSDKResult<out TData, out TError : ErrorCodeProvider>
ON THIS PAGE