You are here

function zoomapi_recordings_get_list in Zoom API 7

Get account cloud recordings.

Parameters

object $account: The user account to retrieve the cloud recordings for.

array $options: An optional array of options to filter the recordings list.

See also

ZoomAPIRecording->list()

File

./zoomapi.module, line 757
Main file for the Zoom API module.

Code

function zoomapi_recordings_get_list($account, array $options = []) {
  $account_recordings = [];
  if ($host_zoom_user_id = zoomapi_get_zoom_user_id($account)) {
    $zoomapi_recordings = new ZoomAPIRecording();

    // @todo utilize $options.
    $account_recordings = $zoomapi_recordings
      ->list($host_zoom_user_id);
  }
  return $account_recordings;
}