on_tsx_state property

Pointer<NativeFunction<Void Function(Pointer<pjsip_transaction> tsx, Pointer<pjsip_event> event)>> on_tsx_state
getter/setter pair

Optional function to be called when this module is acting as transaction user for the specified transaction, when the transaction's state has changed.

@param tsx The transaction. @param event The event which has caused the transaction state to change.

Implementation

external ffi.Pointer<
    ffi.NativeFunction<
        ffi.Void Function(ffi.Pointer<pjsip_transaction> tsx,
            ffi.Pointer<pjsip_event> event)>> on_tsx_state;