Interface MwFile

Represents a Matterway file in the SDK.

interface MwFile {
    arrayBuffer: ArrayBuffer;
    base64: (() => string);
    name: string;
    size: number;
    type: string;
    webUrl?: string;
}

Properties

arrayBuffer: ArrayBuffer

The file's data.

base64: (() => string)

Returns the file's data as a string.

Type declaration

    • (): string
    • Returns string

      The file's data as a string.

name: string

The name of the file.

size: number

The size of the file in bytes.

type: string

The type of the file.

webUrl?: string

The webUrl of the file.