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

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

问题描述

在 Sony Camera Remote API SDK 的参考指南 (Sony_CameraRemoteAPIbeta_API-Reference_v2.10.pdf) 中记录了方法 deleteContentgetContentList.

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.

但是使用带有 Sony QX1 的 Sony Camera Remote API SDK,deleteContentgetContentList 方法未列在 getAvailableApiList 的结果中(不在遥控拍摄"或内容传输"模式下).

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).

我假设它们因此不可用?

I assume that they are therefore not available?

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

How can the photos on the SD card 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:

  • 将CameraFunction 设置为内容传输"
  • getSourceList 获取存储位置
  • getContentCount 获取文件数
  • getContentList 获取相机上的文件列表
  • 解析内容列表以获取文件 URI
  • deleteContent 删除每个文件

我也在尝试弄清楚如何使用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天全站免登陆