pjsua_im_typing method

int pjsua_im_typing(
  1. int acc_id,
  2. Pointer<pj_str_t> to,
  3. int is_typing,
  4. Pointer<pjsua_msg_data> msg_data,
)

Send typing indication outside dialog.

@param acc_id Account ID to be used to send the request. @param to Remote URI. @param is_typing If non-zero, it tells remote person that local person is currently composing an IM. @param msg_data Optional list of headers etc to be added to outgoing request.

@return PJ_SUCCESS on success, or the appropriate error code.

Implementation

int pjsua_im_typing(
  int acc_id,
  ffi.Pointer<pj_str_t> to,
  int is_typing,
  ffi.Pointer<pjsua_msg_data> msg_data,
) {
  return _pjsua_im_typing(
    acc_id,
    to,
    is_typing,
    msg_data,
  );
}