show Scan
Opens a new activity which displays all nearby Parakey locks that the user has access to. Available locks can be unlocked from this view.
The activity will ask for any permissions needed by the SDK. Errors regarding invalid states such as bluetooth disabled are displayed to the user within the activity.
Return
SessionMissing if the SDK is not configured with a valid token bundle
InvalidTokenBundle if the session became unauthorized while scanning
OperationInProgress if a configure is in progress
nullif no error - will launch a new activity
Parameters
activity
the foreground activity to launch from and receive the result on