4.6.201910161609 • Published 5 years ago

@dfeidao/fd-am000070 v4.6.201910161609

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

打开后置相机拍照

Installation

yarn add --dev @dfeidao/fd-am000070

Example

import am70 from '@dfeidao/fd-am000070';
import am74 from '@dfeidao/fd-am000074';
import IFeidaoAiMobile from '@dfeidao/fd-am000000';

export default async function a001(fd: IFeidaoAiMobile) {
	try {
		const a = await am70();
		//todo
		await am74(a.path);  // 清除文件
	} catch (error) {
		console.log(error.message);
	}
}