dji-sdk / Mobile-SDK-Android

DJI Mobile SDK for Android: http://developer.dji.com/mobile-sdk/
Other
978 stars 580 forks source link

How to get Controller battery info in dji msdk 4.16 #1317

Closed Vickyxdev closed 2 months ago

Vickyxdev commented 2 months ago

How to get Controller battery info in dji msdk 4.16

dji-dev commented 2 months ago

Agent comment from yating.liao in Zendesk ticket #113378:

The setChargeRemainingCallback is the interface for obtaining the battery level.

°°°

Vickyxdev commented 2 months ago

Thanks for your information !

dji-dev commented 2 months ago

Agent comment from yating.liao in Zendesk ticket #113378:

I'm glad to have been able to assist you. For specific target interfaces, you can actually refer to the API documentation and check the interfaces based on the modules. For example, to check the battery level of the remote control, you can look at the interfaces in the remote control module.

°°°