pjsua_call_set_user_data method

int pjsua_call_set_user_data(
  1. int call_id,
  2. Pointer<Void> user_data
)

Attach application specific data to the call. Application can then inspect this data by calling #pjsua_call_get_user_data().

@param call_id Call identification. @param user_data Arbitrary data to be attached to the call.

@return The user data.

Implementation

int pjsua_call_set_user_data(
  int call_id,
  ffi.Pointer<ffi.Void> user_data,
) {
  return _pjsua_call_set_user_data(
    call_id,
    user_data,
  );
}