java.lang.Object | |
↳ | dji.sdk.battery.DJIBatteryCheckHelper |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | DJIBatteryCheckHelper.BanSN | ||||||||||
interface | DJIBatteryCheckHelper.DJIBatteryCheckListener |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final String | SHARE_PREFERENCE_KEY |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | addListener(DJIBatteryCheckHelper.DJIBatteryCheckListener listener) | ||||||||||
boolean | checkIsBatteryValid() | ||||||||||
void | clearListener() | ||||||||||
static DJIBatteryCheckHelper | getInstance() | ||||||||||
boolean | removeListener(DJIBatteryCheckHelper.DJIBatteryCheckListener listener) | ||||||||||
void | setDebugging(boolean isDebugging) | ||||||||||
void | startListenToConnectionChange() | ||||||||||
void | stopListenToConnectionChange() | ||||||||||
synchronized boolean | updateBanBatteryList(int retryNum) | ||||||||||
synchronized boolean | updateBanBatteryListFromServer(int retryNum) | ||||||||||
synchronized boolean | updateBanBatteryListLocally() | ||||||||||
void | validateBattery() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
InterruptedException |
---|
InterruptedException |
---|