MrShi
9 天以前 3845c70bd7ce578b65522ad020a8dc524316b4d4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
export declare const apiName = "internal.bleengine.request";
/**
 * 发送JSON转蓝牙RPC请求 请求参数定义
 * @apiName internal.bleengine.request
 */
export interface IInternalBleengineRequestParams {
    /** string型(蓝牙RPC名),必选 */
    method: string;
    /** string型(入参实际的Model类型),可选 */
    model?: string;
    /** string型(入参实际的Model内容,JSON),可选 */
    inModelContent?: string;
    /** 出参实际的Model类型 */
    outModel?: string;
    /** 超时时间  */
    timeout?: number;
}
/**
 * 发送JSON转蓝牙RPC请求 返回结果定义
 * @apiName internal.bleengine.request
 */
export interface IInternalBleengineRequestResult {
    /** 出参实际的Model内容 */
    result: string;
}
/**
 * 发送JSON转蓝牙RPC请求
 * @apiName internal.bleengine.request
 * @supportVersion ios: 4.6.18
 */
export declare function request$(params: IInternalBleengineRequestParams): Promise<IInternalBleengineRequestResult>;
export default request$;