lock

public final Unit lock()

locking function that immediately locks the SDK. Any subsequent call to a locked method will result in LockOperationIsLockedException.

Throws

if the SDK is configured with LockConfigurationType.NONE.