![]() |
PortSIP VoIP SDK Manual for iOS
16.2
PortSIP features our newest, supported, quality-assured VoIP SDK used by Several hundred companies around the world for easy VoIP application develop and quality-assured code.
|
| - (void PortSIPEventDelegate) onPresenceRecvSubscribe: | (long) | subscribeId | |
| fromDisplayName: | (char *) | fromDisplayName | |
| from: | (char *) | from | |
| subject: | (char *) | subject | |
This event will be triggered when receiving the SUBSCRIBE request from a contact.
| subscribeId | The ID of SUBSCRIBE request. |
| fromDisplayName | The display name of contact. |
| from | The contact who sends the SUBSCRIBE request. |
| subject | The subject of the SUBSCRIBE request. |
| - (void PortSIPEventDelegate) onPresenceOnline: | (char *) | fromDisplayName | |
| from: | (char *) | from | |
| stateText: | (char *) | stateText | |
This event will be triggered when the contact is online or changes presence status.
| fromDisplayName | The display name of contact. |
| from | The contact who sends the SUBSCRIBE request. |
| stateText | The presence status text. |
| - (void PortSIPEventDelegate) onPresenceOffline: | (char *) | fromDisplayName | |
| from: | (char *) | from | |
When the contact status is changed to offline, this event will be triggered.
| fromDisplayName | The display name of contact. |
| from | The contact who sends the SUBSCRIBE request |