Class: WinRTPartRetriever

PartRetrievers. WinRTPartRetriever

Represents a http part retriever.

new WinRTPartRetriever(url, cacheHint, decrypt, decryptOptions)

Constructs a new WinRTPartRetriever. WinRTPartRetriever retrieves Document parts asynchronously from a .xod that exists locally in a WinRT app.

Name Type Description
url string

The URL of the file to load. May be relative to the current page.

cacheHint PartRetrievers.CacheHinting

The type of cache hinting to use

decrypt function

Function to be called to decrypt a part of the file

decryptOptions Object

An object with options for the decryption e.g. {p: "pass", type: "aes"} where is p is the password




Sets custom HTTP headers that will be sent with XOD part requests.

Name Type Description
headers object

An object with the properties and values being the header names and values that will be set. e.g. { 'MyCustomHeader': 'MyCustomValue'}

Inherited From:


Sets a function to be called if there is an error loading the document or retrieving a part.

Name Type Description
callback function

The callback to handle the error

Inherited From:


Sets withCredentials on xhr requests for the document.

Name Type Description
withCredentials boolean
Inherited From: