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

25 lines
722 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.nfcWrite
*/
export interface IDeviceNfcNfcWriteParams {
/** NFC芯片的内容 */
content: string;
}
/**
* nfc写接口 返回结果定义
* @apiName device.nfc.nfcWrite
*/
export interface IDeviceNfcNfcWriteResult {
}
/**
* nfc写接口
* 只支持有nfc功能的android手机
* 支持NDEF的数据交换格式
* 使用方法首先调用此jsapi然后再把芯片放上去即可写入jsapi调用一次写一次内容
* @apiName device.nfc.nfcWrite
* @supportVersion ios: 2.11.0 android: 2.11.0
*/
export declare function nfcWrite$(params: IDeviceNfcNfcWriteParams): Promise<IDeviceNfcNfcWriteResult>;
export default nfcWrite$;