dji-sdk / Mobile-SDK-Android

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

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

Closed Vickyxdev closed 3 months ago

Vickyxdev commented 3 months ago

How to get Controller battery info in dji msdk 4.16

dji-dev commented 3 months ago

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

The setChargeRemainingCallback is the interface for obtaining the battery level.

°°°

Vickyxdev commented 3 months ago

Thanks for your information !

dji-dev commented 3 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.

°°°