Ignore:
Timestamp:
Oct 6, 2017 8:14:31 AM (7 years ago)
Author:
riza
Message:

Close #2051: Implement callback wrapper for on_buddy_evsub_state() on pjsua2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua2/presence.hpp

    r4704 r5672  
    177177 
    178178/** 
     179 * This structure contains parameters for Buddy::onBuddyEvSubState() callback. 
     180 */ 
     181struct OnBuddyEvSubStateParam 
     182{ 
     183    /** 
     184     * * The event which triggers state change event. 
     185     */ 
     186    SipEvent    e; 
     187}; 
     188 
     189 
     190/** 
    179191 * Buddy. 
    180192 */ 
     
    270282    virtual void onBuddyState() 
    271283    {} 
     284 
     285    /** 
     286     * Notify application when the state of client subscription session 
     287     * associated with a buddy has changed. Application may use this 
     288     * callback to retrieve more detailed information about the state 
     289     * changed event. 
     290     * 
     291     * @param prm       Callback parameter. 
     292     */ 
     293    virtual void onBuddyEvSubState(OnBuddyEvSubStateParam &prm) 
     294    { PJ_UNUSED_ARG(prm); } 
    272295      
    273296private: 
Note: See TracChangeset for help on using the changeset viewer.