Pairing Session

Pre-requisite: The user has to be signed in to perform the following operations.


Create a pairing session key

To create a pairing session key, The following method can be used:

  • spaceId (required): The space ID of the device.
Factory.spaceService.createPairingSessionKey(spaceId: String, request: PairingSessionKeyRequest) -> IVPublisher<PairingSessionKeyModel>

Get a pairing session key

To get a pairing session key, The following method can be used:

  • spaceId (required): The space ID of the device.
  • sessionKey (required): The pairing session key.
Factory.spaceService.getPairingSessionStatus(spaceId: String, sessionKey: String) -> IVPublisher<PairingSessionStatusModel>