当前位置:首页 > Windows程序 > 正文

边看代码边研究貌似还是有点问题...还在研究中api中

2021-05-26 Windows程序

// 录像 function getVideo() { outSet( "开始录像:" ); var cmr = plus.camera.getCamera(); cmr.startVideoCapture( function ( p ) { outLine( "成功:"+p ); plus.io.resolveLocalFileSystemURL( p, function( entry) { createItem( entry ); }, function( e ) { outLine( "读取录像文件错误:"+e.message ); } ); }, function( e ){ outLine( "失败:"+e.message ); }, {filename:"_doc/camera/",index:i} ); }

温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/file/71591.html