ResourceLoadingArgs class

ResourceLoadingArgs class

Provides data for the IResourceLoadingCallback.resource_loading() method.

Properties

NameDescription
original_uriOriginal URI of the resource as specified in imported document.
resource_typeType of resource.
uriURI of the resource which is used for downloading if IResourceLoadingCallback.resource_loading() returns ResourceLoadingAction.DEFAULT.

Methods

NameDescription
set_data(data)Sets user provided data of the resource which is used if IResourceLoadingCallback.resource_loading() returns ResourceLoadingAction.USER_PROVIDED.

See Also