Send a Set Do Not Disturb request to the server.

Declaration Syntax

Parameters
- deviceId (String)
-
The third party Device Id which represents the station that you want to set the Do Not Disturb state on.
- doNotDisturbOn (Boolean)
-
True if you want to activate the Do Not Disturb feature.
- userState (Object)
- The Invoke ID of the XML message sent to the server.

Return Value
The Invoke ID of the XML message sent to the server.
Assembly: ServiceProvider (Module: ServiceProvider)