get Cross Device Session From App Link
suspend fun getCrossDeviceSessionFromAppLink(appLink: Uri): MIRACLResult<CrossDeviceSession, CrossDeviceSessionException>
Gets the CrossDeviceSession for an AppLink.
Return
A MIRACLResult representing the result of the operation:
If successful, returns a MIRACLSuccess with the CrossDeviceSession.
If an error occurs, returns a MIRACLError with a CrossDeviceSessionException describing issues with the operation.
Parameters
app Link
The URI provided by the Intent.
fun getCrossDeviceSessionFromAppLink(appLink: Uri, resultHandler: ResultHandler<CrossDeviceSession, CrossDeviceSessionException>)
Gets the CrossDeviceSession for an AppLink.
Parameters
app Link
The URI provided by the Intent.
result Handler
A callback to handle the result of retrieving session details.
If successful, the result is a MIRACLSuccess with the CrossDeviceSession.
If an error occurs, the result is a MIRACLError with an exception describing issues with the operation.