微信小游戏开发文档-小游戏文件API string FileSystemManager.unlinkSync(string filePath)

上传时间:2018-03-04阅读数:419

string FileSystemManager.unlinkSync(string filePath) FileSystemManager.unlink 的同步版本 参数 string filePath 要删除的文件路径 返回值 string errMsg 错误信息 errMsg 的合法值

微信小游戏开发文档-小游戏文件API FileSystemManager.unzipSync(string zipFilePath, string targetPath)

上传时间:2018-04-25阅读数:392

FileSystemManager.unzipSync(string zipFilePath, string targetPath) FileSystemManager.unzip 的同步版本 参数 string zipFilePath 源文件路径,只可以是 zip 压缩文件 string targ

微信小游戏开发文档-小游戏文件API FileSystemManager.writeFile(Object object) 写文件

上传时间:2018-05-16阅读数:1265

FileSystemManager.writeFile(Object object) 写文件 参数 Object object 属性 类型 默认值 是否必填

微信小游戏开发文档-小游戏文件API string FileSystemManager.writeFileSync(string filePath, string|ArrayBuffer data, string encoding)

上传时间:2018-04-13阅读数:958

string FileSystemManager.writeFileSync(string filePath, string|ArrayBuffer data, string encoding) FileSystemManager.writeFile 的同步版本 参数 string filePath

微信小游戏开发文档-小游戏位置API wx.getLocation(Object object) 获取当前的地理位置、速度

上传时间:2018-08-21阅读数:902

wx.getLocation(Object object) 获取当前的地理位置、速度。当用户离开小程序后,此接口无法调用;当用户点击“显示在聊天顶部”时,此接口可继续调用。 参数 Object object 属性
目录