$state = $session->getPropertySubscriptionState( $object, $property )
The getPropertySubscriptionState() function gets the current state of subscription to the specified event.
The possible reply values are listed in getPropertySubscriptionState return codes.
Return code |
Subscription state |
---|---|
0 |
Unsubscribed |
1 |
Pending |
2 |
Subscribed |
3 |
Suspended |