SDK 的完整跨平台适配器。

interface PlatformAdapter {
    platform: RuntimePlatform;
    request: RequestAdapter;
    upload: UploadAdapter;
    socket: SocketAdapter;
    runtime: RuntimeAdapter;
    proto: ProtoAdapter;
    storage: StorageAdapter;
    imageProcessor?: ImageProcessor;
}

Hierarchy (View Summary)

Properties

platform: RuntimePlatform

当前运行平台。

HTTP 请求适配器。

文件上传适配器。

Socket 适配器。

宿主运行时适配器。

Protobuf 编解码适配器。

键值存储适配器。

imageProcessor?: ImageProcessor

可选图片处理适配器。