This structure describes buddy info, which can be retrieved by via Buddy::getInfo().
Import from pjsip structure
Buddy's Contact, only available when presence subscription has been established to the buddy.
Flag to indicate that we should monitor the presence information for this buddy (normally yes, unless explicitly disabled).
If presMonitorEnabled is true, this specifies the last state of the presence subscription. If presence subscription session is currently active, the value will be PJSIP_EVSUB_STATE_ACTIVE. If presence subscription request has been rejected, the value will be PJSIP_EVSUB_STATE_TERMINATED, and the termination reason will be specified in subTermReason.
String representation of subscription state.
Specifies the last presence subscription termination code. This would return the last status of the SUBSCRIBE request. If the subscription is terminated with NOTIFY by the server, this value will be set to 200, and subscription termination reason will be given in the subTermReason field.
Specifies the last presence subscription termination reason. If presence subscription is currently active, the value will be empty.
The documentation for this struct was generated from the following file: