Ignore:
Timestamp:
Nov 27, 2013 9:37:32 AM (9 years ago)
Author:
nanang
Message:

Re #1519: Added presence API in pjsua2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/pjsua2/pjsip/include/pjsua2/siptypes.hpp

    r4655 r4657  
    589589     */ 
    590590    void toPj(pjsua_msg_data &msg_data) const; 
     591}; 
     592 
     593 
     594/** 
     595 * This structure contains parameters for sending instance message methods, 
     596 * e.g: Buddy::sendInstantMessage(), Call:sendInstantMessage(). 
     597 */ 
     598struct SendInstantMessageParam 
     599{ 
     600    /** 
     601     * MIME type. Default is "text/plain". 
     602     */ 
     603    string contentType; 
     604     
     605    /** 
     606     * The message content. 
     607     */ 
     608    string content; 
     609     
     610    /** 
     611     * List of headers etc to be included in outgoing request. 
     612     */ 
     613    SipTxOption txOption; 
     614 
     615    /** 
     616     * User data, which will be given back when the IM callback is called. 
     617     */ 
     618    Token userData; 
     619}; 
     620 
     621 
     622/** 
     623 * This structure contains parameters for sending typing indication methods, 
     624 * e.g: Buddy::sendTypingIndication(), Call:sendTypingIndication(). 
     625 */ 
     626struct SendTypingIndicationParam 
     627{ 
     628    /** 
     629     * True to indicate to remote that local person is currently typing an IM. 
     630     */ 
     631    bool isTyping; 
     632     
     633    /** 
     634     * List of headers etc to be included in outgoing request. 
     635     */ 
     636    SipTxOption txOption; 
    591637}; 
    592638 
Note: See TracChangeset for help on using the changeset viewer.