UNPKG

@daysnap/horn-jssdk

Version:

原生容器面向 H5 开发者提供的基于容器应用内的网页开发工具包

20 lines (19 loc) 656 B
import { type FailCallbackResult, type PickOptions } from '../../core'; export interface GetSystemInfoResult { brand: string; model: string; version: string; system: string; platform: 'ios' | 'android'; imei: string; mac: string; deviceId: string; } export interface GetSystemInfoOptions { success?: (result: GetSystemInfoResult) => void; fail?: (err: FailCallbackResult) => void; } /** * 获取系统信息 */ export declare const getSystemInfo: <T extends GetSystemInfoOptions = GetSystemInfoOptions>(options?: T | undefined) => import("../../core").PromisifySuccessResult<PickOptions<T>, GetSystemInfoOptions>;