Ignore:
Timestamp:
Oct 31, 2007 10:54:53 AM (16 years ago)
Author:
bennylp
Message:

Ticket #406: New PJSUA API to update buddy's presence subscription

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r1534 r1535  
    33353335 
    33363336/** 
     3337 * Update the presence information for the buddy. Although the library 
     3338 * periodically refreshes the presence subscription for all buddies, some 
     3339 * application may want to refresh the buddy's presence subscription 
     3340 * immediately, and in this case it can use this function to accomplish 
     3341 * this. 
     3342 * 
     3343 * Note that the buddy's presence subscription will only be initiated 
     3344 * if presence monitoring is enabled for the buddy. See  
     3345 * #pjsua_buddy_subscribe_pres() for more info. Also if presence subscription 
     3346 * for the buddy is already active, this function will not do anything. 
     3347 * 
     3348 * Once the presence subscription is activated successfully for the buddy, 
     3349 * application will be notified about the buddy's presence status in the 
     3350 * on_buddy_state() callback. 
     3351 * 
     3352 * @param buddy_id      Buddy identification. 
     3353 * 
     3354 * @return              PJ_SUCCESS on success, or the appropriate error code. 
     3355 */ 
     3356PJ_DECL(pj_status_t) pjsua_buddy_update_pres(pjsua_buddy_id buddy_id); 
     3357 
     3358 
     3359/** 
    33373360 * Dump presence subscriptions to log. 
    33383361 * 
Note: See TracChangeset for help on using the changeset viewer.