isDownloadable method

ResponseFuture<BooleanResponse> isDownloadable(
  1. IdentifierUUID request, {
  2. CallOptions? options,
})

Evaluates the download eligibility of a specific record using its universally unique identifier (UUID).

This endpoint serves as a lightweight precursor to the actual file retrieval process. It verifies whether the target record supports file extraction by checking if a custom download function has been implemented for the underlying asset. By utilizing this check, client applications can preemptively determine file availability and dynamically adjust user interface elements (e.g., enabling or disabling a download button) without initiating a full, potentially heavy download request.

Implementation

$grpc.ResponseFuture<$1.BooleanResponse> isDownloadable(
  $1.IdentifierUUID request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$isDownloadable, request, options: options);
}