UnsubscribeToTag

Called to unsubscribe to state change notification

🔁 Function

void UnSubscribeToTag(id: number);

⚙️ Parameters

Name Type Description
id Number The return value from a previous call to SubscribeToTag. The value uniquely identifies the subscription to the system

↩️ Return Value

None

📝 Example

Unsubscribe to a previously subscribed tag:

_tag1 = SubscribeToTag("Tag1", 500, null, Tag1ValueChanged);
UnSubscribeToTag(_tag1);