System Control
Pre-requisite
- The user has to be signed in to perform the following operations.
- The user should have an active pro-monitoring plan activated on the space.
Arming the System
To arm the system, The following method can be used:
spaceId(required): The space id of the User.
Factory.proMonitoringService.armSystem(spaceId: String) -> IVPublisher<Void>
Disarming the System
To disarm the system, The following method can be used:
spaceId(required): The space id of the User.
Factory.proMonitoringService.disarmSystem(spaceId: String) -> IVPublisher<Void>
Enabling Test Mode
To enable test mode on the system, The following method can be used:
spaceId(required): The space id of the User.request(required): The request object to toggle the test mode
Factory.proMonitoringService.enableTestMode(spaceId: String, request: ProMonitoringTestModeRequest) -> IVPublisher<ProMonitoringTestModeModel>