zhizhi/node_modules/dingtalk-jsapi/api/device/nfc/nfcRead.d.ts

25 lines
725 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* nfc读取接口 请求参数定义
* @apiName device.nfc.nfcRead
*/
export interface IDeviceNfcNfcReadParams {
}
/**
* nfc读取接口 返回结果定义
* @apiName device.nfc.nfcRead
*/
export interface IDeviceNfcNfcReadResult {
/** NFC芯片的内容 */
content: string;
}
/**
* nfc读取接口
* 只支持有nfc功能的android手机
* 支持NDEF的数据交换格式
* 使用方法首先调用此jsapi然后再把芯片放上去即可读取jspai调用一次读取一次信息
* @apiName device.nfc.nfcRead
* @supportVersion ios: 2.11.0 android: 2.11.0
*/
export declare function nfcRead$(params: IDeviceNfcNfcReadParams): Promise<IDeviceNfcNfcReadResult>;
export default nfcRead$;