Click or drag to resize

JsonDbSubscribe(String, JsonDbJsonDbCallback) Method

Method to allow for subscriptions to changes made to JSON objects in the database.

Adjust the setting IgnoreOwnSets(Boolean) as needed for this process.


Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static JsonDbeJsonDbResult Subscribe(
	string subscription,
	params JsonDbJsonDbCallback[] callbacks
)

Parameters

subscription  String
JSON object to subscribe to in the database.
callbacks  JsonDbJsonDbCallback
List of callbacks that will be triggered when a change is received from the database.

Return Value

JsonDbeJsonDbResult
See JsonDbeJsonDbResult
Exceptions
ExceptionCondition
NotSupportedExceptionThis version of firmware does not support JsonDb feature.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also