on_mwi_state property

Pointer<NativeFunction<Void Function(pjsua_acc_id acc_id, Pointer<pjsip_evsub> evsub)>> on_mwi_state
getter/setter pair

This callback is called when message waiting indication subscription state has changed. Application can then query the subscription state by calling #pjsip_evsub_get_state().

@param acc_id The account ID. @param evsub The subscription instance.

Implementation

external ffi.Pointer<
        ffi.NativeFunction<
            ffi.Void Function(
                pjsua_acc_id acc_id, ffi.Pointer<pjsip_evsub> evsub)>>
    on_mwi_state;