pjsua_buddy_set_user_data method

int pjsua_buddy_set_user_data(
  1. int buddy_id,
  2. Pointer<Void> user_data
)

Set the user data associated with the buddy object.

@param buddy_id The buddy identification. @param user_data Arbitrary application data to be associated with the buddy object.

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

Implementation

int pjsua_buddy_set_user_data(
  int buddy_id,
  ffi.Pointer<ffi.Void> user_data,
) {
  return _pjsua_buddy_set_user_data(
    buddy_id,
    user_data,
  );
}