on_reg_state property

Pointer<NativeFunction<Void Function(pjsua_acc_id acc_id)>> on_reg_state
getter/setter pair

Notify application when registration status has changed. Application may then query the account info to get the registration details.

@param acc_id The account ID.

Implementation

external ffi
    .Pointer<ffi.NativeFunction<ffi.Void Function(pjsua_acc_id acc_id)>>
    on_reg_state;