ricohapi / theta-plugin-sdk

THETA Plugin SDK
Apache License 2.0
54 stars 17 forks source link

Deleteing files now complies with api v2.1 #24

Closed TomRaybould closed 5 years ago

TomRaybould commented 5 years ago

The HttpConnector class is still using the old v2.0 web api for the camera, for deleting images, and does not currently work this way. This commit changes the HttpConnector logic so that it can delete files off the camera using the v2.1 web api. This requires a different callback with an array of multiple image paths which I have created "HttpDeleteFileListener".

https://developers.theta360.com/en/docs/v2.1/api_reference/commands/camera.delete.html