Ignore:
Timestamp:
Oct 11, 2010 10:59:37 AM (14 years ago)
Author:
ming
Message:

Fix #1145: API to enable/disable support for iOS BG feature during runtime

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/activesock.h

    r3299 r3336  
    317317PJ_DECL(void) pj_activesock_set_iphone_os_bg(pj_activesock_t *asock, 
    318318                                             int val); 
     319 
     320/** 
     321 * Enable/disable support for iPhone OS background mode. This setting 
     322 * will apply globally and will affect any active sockets created 
     323 * afterwards, if you want to change the setting for a particular 
     324 * active socket, use #pj_activesock_set_iphone_os_bg() instead. 
     325 * By default, this setting is enabled. 
     326 * 
     327 * @param val       The value of global background mode setting. 
     328 * 
     329 */ 
     330PJ_DECL(void) pj_activesock_enable_iphone_os_bg(pj_bool_t val); 
    319331#endif 
    320332 
Note: See TracChangeset for help on using the changeset viewer.