Resource Class - NICE DCV
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Resource Class

The Resource Class can fetch or discard the corresponding file that was just printed or downloaded. When performing these actions, the corresponding observer functions filePrinted and fileDownload would respectively be invoked with the resource object as their only argument. Such resource can be accepted or declined in order to fetch or discard the file they reference.

Exposes

Methods

accept(urlParameters) → {void}

Locally downloads the resource.

Parameters:

Name Type Description
urlParameters Object The optional object containing the key/value pairs of the URL search parameters passed to the request to fetch the resource.

Returns:

Type

void

decline() → {void}

Discards the resource.

Returns:

Type

void