Changes between Version 3 and Version 4 of pjsip-doc/presence


Ignore:
Timestamp:
Dec 4, 2013 9:34:35 AM (10 years ago)
Author:
ming
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pjsip-doc/presence

    v3 v4  
    6666When the presence status is changed, the account will publish the new status to all of its presence subscriber, either with PUBLISH request or SUBSCRIBE request, or both, depending on account configuration. 
    6767 
     68Instant Messaging(IM) 
     69--------------------- 
     70You can send IM using Buddy.sendInstantMessage(). The transmission status of outgoing instant messages is reported in ​Account.onInstantMessageStatus() callback method of Account class. 
     71 
     72In addition to sending instant messages, you can also send typing indication to remote buddy using ​Buddy.sendTypingIndication(). 
     73 
     74Incoming IM and typing indication received not within the scope of a call will be reported in the callback functions Account.onInstantMessage() and Account.onTypingIndication(). 
     75 
     76Alternatively, you can send IM and typing indication within a call by using Call.sendInstantMessage() and Call.sendTypingIndication(). For more information, please see Call documentation. 
     77 
     78 
    6879}}}