The integrating application MUST have the "NSBluetoothAlwaysUsageDescription" attribute in its "info.plist" file. Failing to do so might result
in a runtime application crash when calling this API.
If the application using this SDK hasn't tried to use Bluetooth before,
calling this function will result in a system UI prompt asking the user to grant Bluetooth permissions to the application.
If the user has denied a similar previous permission request (either when interacting with another part of the application or
through a prior call to this function) the MobileCredentialHolderErrorType.BluetoothPermissionDenied
error is thrown until the user explicitly grants Bluetooth permissions to the application in their OS app settings.
Create a proximity based presentation session with an mDoc verifier 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 iOS
The integrating application MUST have the "NSBluetoothAlwaysUsageDescription" attribute in its "info.plist" file. Failing to do so might result in a runtime application crash when calling this API.
If the application using this SDK hasn't tried to use Bluetooth before, calling this function will result in a system UI prompt asking the user to grant Bluetooth permissions to the application. If the user has denied a similar previous permission request (either when interacting with another part of the application or through a prior call to this function) the MobileCredentialHolderErrorType.BluetoothPermissionDenied error is thrown until the user explicitly grants Bluetooth permissions to the application in their OS app settings.
For Android
For Android versions R/11 (API level 30) and below:
For Android versions S/12 (API level 31) and above:
requestReceivedAction
In the event of an error
onRequestReceivedaction can produce the following:sessionTerminatedAction
sessionTerminatedActionis invoked when a session is terminated:onSessionTerminatedCallbackterminateSession().nullnull