abortCrossDeviceSession

Cancels an ongoing CrossDeviceSession.

Return

A MIRACLResult representing the result of the operation:

Parameters

crossDeviceSession

The session to cancel.


Cancels the CrossDeviceSession.

Parameters

crossDeviceSession

The session to cancel.

resultHandler

A callback to handle the result of session abort.

  • If successful, the result is a MIRACLSuccess.

  • If an error occurs, the result is a MIRACLError with an exception describing issues with the operation.