canUseHubDownloadApi

Function

Determines if the Hub Download API can be used for the given entity.

Parameters

Parameter Type Default Notes
entity Required IHubEditableContent

entity to check if Hub Download API can be used

context Required IArcGISContext

ArcGIS context

Returns

whether the Hub Download API can be used

boolean

Function defined in common/src/downloads/canUseHubDownloadApi.ts:12