pjsip_tp_state_callback typedef
pjsip_tp_state_callback = Pointer<NativeFunction<Void Function(Pointer<pjsip_transport> tp, Int32 state, Pointer<pjsip_transport_state_info> info)> >
Type of callback to receive transport state notifications, such as transport connected/disconnected. Application may shutdown the transport in this callback.
@param tp The transport instance. @param state The transport state. @param info The transport state info.
Implementation
typedef pjsip_tp_state_callback = ffi.Pointer<
ffi.NativeFunction<
ffi.Void Function(ffi.Pointer<pjsip_transport> tp, ffi.Int32 state,
ffi.Pointer<pjsip_transport_state_info> info)>>;