DS Server

Javascript: LoadDocumentCallbackData.loadedStreamType Property

Property

Description

The StreamType of the file that has been loaded.

Syntax

<StreamType> LoadDocumentCallbackData.loadedStreamType

Examples

The following example demonstrates LoadDocumentCallbackData.loadedStreamType in a practical document-editing workflow. The StreamType of the file that has been loaded.

function inspectLoadedStreamType(loadDocumentCallbackData) {
    const loadedStreamType = loadDocumentCallbackData.loadedStreamType;
    console.log("loaded stream type:", loadedStreamType);
}