on_srv_subscribe_state property
Pointer<NativeFunction<Void Function(pjsua_acc_id acc_id, Pointer<pjsua_srv_pres> srv_pres, Pointer<pj_str_t> remote_uri, Int32 state, Pointer<pjsip_event> event)> >
on_srv_subscribe_state
getter/setter pair
Notification when server side subscription state has changed. This callback is optional as application normally does not need to do anything to maintain server side presence subscription.
@param acc_id The account ID. @param srv_pres Server presence subscription object. @param remote_uri Remote URI string. @param state New subscription state. @param event PJSIP event that triggers the state change.
Implementation
external ffi.Pointer<
ffi.NativeFunction<
ffi.Void Function(
pjsua_acc_id acc_id,
ffi.Pointer<pjsua_srv_pres> srv_pres,
ffi.Pointer<pj_str_t> remote_uri,
ffi.Int32 state,
ffi.Pointer<pjsip_event> event)>> on_srv_subscribe_state;