stop

fun stop(): SdkError?

Stop the active PresenceLocator when the transaction is complete.

Note: It is the responsibility of the app to call this method to stop the locator. Another locator may not be started without calling this first.

Example:

val sdkError = PresenceManager.getInstance().stop()
(sdkError as? PresenceError)?.let { presenceError ->
Log.d("Error type", presenceError.type)
Log.d("Error description", presenceError.description())
}