on_buddy_evsub_state property

Pointer<NativeFunction<Void Function(pjsua_buddy_id buddy_id, Pointer<pjsip_evsub> sub, Pointer<pjsip_event> event)>> on_buddy_evsub_state
getter/setter pair

Notify application when the state of client subscription session associated with a buddy has changed. Application may use this callback to retrieve more detailed information about the state changed event.

@param buddy_id The buddy id. @param sub Event subscription session. @param event The event which triggers state change event.

Implementation

external ffi.Pointer<
    ffi.NativeFunction<
        ffi.Void Function(
            pjsua_buddy_id buddy_id,
            ffi.Pointer<pjsip_evsub> sub,
            ffi.Pointer<pjsip_event> event)>> on_buddy_evsub_state;