createProximityPresentationSession
Create a proximity-based presentation session with a mobile credential holder using device retrieval as per ISO/IEC 18013-5:2021.
This function requires the calling application to have been granted the following Bluetooth-related permissions.
For Android versions R and below: android.permission.BLUETOOTH android.permission.BLUETOOTH_ADMIN android.permission.ACCESS_FINE_LOCATION android.permission.ACCESS_COARSE_LOCATION
For Android versions above R: android.permission.BLUETOOTH_SCAN android.permission.BLUETOOTH_ADVERTISE android.permission.BLUETOOTH_CONNECT
If the application using this SDK hasn't already tried to use Bluetooth before, calling this function will result in a system UI prompt asking the user to grant the application permission to use Bluetooth. However, if the user has already been asked for this permission, either through interaction with another part of the application or through a prior call to this function made by the app and they denied the request, then the VerifierException.BluetoothPermissionException exception will be thrown in response until the user explicitly grants the application Bluetooth permission in their OS app settings.
Parameters
Android Activity.
Device Engagement string in "mdoc:base64EncodedString" format.
Optional callback interface which will receive Proximity Presentation Session events.
Throws
If SDK is not ready.