onDemandResources.getDownloadPriority()

Type Function
Return value Number
Revision Release 2022.3683
Keywords on-demand resources, onDemandResources, getDownloadPriority
See also onDemandResources.request()
onDemandResources.setDownloadPriority()
onDemandResources.*

Overview

If you are downloading several resources (tags) at once, you can use onDemandResources.setDownloadPriority() to manage which should be downloaded first.

This function returns the download priority (number) for a specified tag in the range of 0.0 to 1.0 where 1.0 is the highest and the default download priority.

Syntax

onDemandResources.getDownloadPriority( tag )
tag (required)

String. Tag for which to retrieve the download priority.