on_call_state property

Pointer<NativeFunction<Void Function(pjsua_call_id call_id, Pointer<pjsip_event> e)>> on_call_state
getter/setter pair

Notify application when call state has changed. Application may then query the call info to get the detail call states by calling pjsua_call_get_info() function.

@param call_id The call index. @param e Event which causes the call state to change.

Implementation

external ffi.Pointer<
        ffi.NativeFunction<
            ffi.Void Function(
                pjsua_call_id call_id, ffi.Pointer<pjsip_event> e)>>
    on_call_state;