pjsua_enum_calls method

int pjsua_enum_calls(
  1. Pointer<pjsua_call_id> ids,
  2. Pointer<UnsignedInt> count
)

Enumerate all active calls. Application may then query the information and state of each call by calling #pjsua_call_get_info().

@param ids Array of account IDs to be initialized. @param count In input, specifies the maximum number of elements. On return, it contains the actual number of elements.

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

Implementation

int pjsua_enum_calls(
  ffi.Pointer<pjsua_call_id> ids,
  ffi.Pointer<ffi.UnsignedInt> count,
) {
  return _pjsua_enum_calls(
    ids,
    count,
  );
}