xr-frame / Exports / IRealDownloader

# Interface: IRealDownloader

外部需要注入的下载器接口。

# Table of contents

# Methods

# Methods

# load

load(options): void

# Parameters

Name Type
options Object
options.onError (error: Error) => void
options.onLoad (res: { data: ArrayBuffer ; filePath: string }) => void
options.encoding "binary" | "utf-8"
options.src string

# Returns

void