![]() |
PortSIP VoIP SDK Manual for Android
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.
|
Functions | |
| void | com.portsip.OnPortSIPEvent.onRecvOptions (String optionsMessage) |
| void | com.portsip.OnPortSIPEvent.onRecvInfo (String infoMessage) |
| void | com.portsip.OnPortSIPEvent.onRecvNotifyOfSubscription (long subscribeId, String notifyMessage, byte[] messageData, int messageDataLength) |
| void com.portsip.OnPortSIPEvent.onRecvOptions | ( | String | optionsMessage | ) |
This event will be triggered when receiving the OPTIONS message.
| optionsMessage | The received whole OPTIONS message in text format. |
| void com.portsip.OnPortSIPEvent.onRecvInfo | ( | String | infoMessage | ) |
This event will be triggered when receiving the INFO message.
| infoMessage | The whole INFO message received in text format. |
| void com.portsip.OnPortSIPEvent.onRecvNotifyOfSubscription | ( | long | subscribeId, |
| String | notifyMessage, | ||
| byte [] | messageData, | ||
| int | messageDataLength | ||
| ) |
This event will be triggered when receiving a NOTIFY message of the subscription.
| subscribeId | The ID of SUBSCRIBE request. |
| notifyMessage | The received INFO message in text format. |
| messageData | The received message body. It's can be either text or binary data. |
| messageDataLength | The length of "messageData". |