delegate for battery percentage


right now we refreshing battery percentage manually by calling getBatteryChargePercentage.
It is possible for sensor SDK to add any delegate for battery percentage support?



Sure! Though you would need to create an battery change percentage object, possibly extending the STSensorController Class with a new one of your making.

If you haven’t already, I would recommend downloading the Structure SDK (iOS) 0.9 and using STCaptureSession which uses events to handle changes, like the battery percentage. For more information, have a look at the Readme file included in the Structure SDK (iOS) 0.9 download.