acquireExclusiveAccess

abstract fun acquireExclusiveAccess(updateRegion: ByteArray): Int

Attempt to acquire exclusive (write) access to a specific Update Region of the map.

To be called from JNI only!

Return

status of the operation - one of: ACQUIRE_EXCLUSIVE_ACCESS_OK, ACQUIRE_EXCLUSIVE_ACCESS_UNEXPECTED_ERROR, ACQUIRE_EXCLUSIVE_ACCESS_BUSY, ACQUIRE_EXCLUSIVE_ACCESS_TIMEOUT.