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.SimplSharpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic static JsonDbeJsonDbResult Subscribe(
string subscription,
JsonDbJsonDbCallback callback
)
Parameters
- subscription String
- JSON object to subscribe to in the database.
- callback JsonDbJsonDbCallback
- A callback that will be triggered when a change is received from the database.
Return Value
JsonDbeJsonDbResultSee
JsonDbeJsonDbResult
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also