sony-camera-api - CameraRemoteAPIbeta - deleteContent / actFormatStorage [英] sony-camera-api - CameraRemoteAPIbeta - deleteContent/actFormatStorage

查看:947
本文介绍了sony-camera-api - CameraRemoteAPIbeta - deleteContent / actFormatStorage的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Sony Camera Remote API SDK(Sony_CameraRemoteAPIbeta_API-Reference_v2.10.pdf)的参考指南中,记录了方法deleteContent和getContentList。但是使用Sony Camera Remote API SDK和Sony QX1的方法deleteContent和getContentList不会列在getAvailableApiList(遥控拍摄和内容传输模式)的结果中。

In the reference guide of the Sony Camera Remote API SDK (Sony_CameraRemoteAPIbeta_API-Reference_v2.10.pdf) the methods "deleteContent" and "getContentList" are documented. But using the Sony Camera Remote API SDK with a Sony QX1 the methods "deleteContent" and "getContentList" are not listed in the results of "getAvailableApiList" (neither in "Remote Shooting" nor "Contents Transfer" mode).

我假设他们不可用?

如何删除或格式化SD卡上的照片?

How can the photos on the SDcard be deleted or formatted?

运行getAvailableApiList在遥控拍摄模式中列出actFormatStorage。

Running "getAvailableApiList" does list "actFormatStorage" in "Remote Shooting"-Mode. How can this be applied?

推荐答案

我已经能够使用下列调用序列从相机中删除文件:

I have been able to delete files from the camera using the following sequence of calls:


  • 将SetCameraFunction改为内容传输

  • getSourceList以获取存储位置

  • getContentCount获取文件数

  • getContentList获取相机上的文件列表

  • 解析内容列表以获取文件URI

  • deleteContent删除每个文件

  • setCameraFunction to "Contents Transfer"
  • getSourceList to get storage location
  • getContentCount to get count of files
  • getContentList to get list of files on camera
  • parse content list to get file URI's
  • deleteContent to delete each file

我也试图找出如何使用actFormatStorage,运气到目前为止

I am also trying to figure out how to use the actFormatStorage, but no luck so far

这篇关于sony-camera-api - CameraRemoteAPIbeta - deleteContent / actFormatStorage的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆