public class

DJIBatteryCheckHelper

extends Object
java.lang.Object
   ↳ dji.sdk.battery.DJIBatteryCheckHelper

Summary

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

Fields

public static final String SHARE_PREFERENCE_KEY

Public Methods

public boolean addListener (DJIBatteryCheckHelper.DJIBatteryCheckListener listener)

public boolean checkIsBatteryValid ()

public void clearListener ()

public static DJIBatteryCheckHelper getInstance ()

public boolean removeListener (DJIBatteryCheckHelper.DJIBatteryCheckListener listener)

public void setDebugging (boolean isDebugging)

public void startListenToConnectionChange ()

public void stopListenToConnectionChange ()

public synchronized boolean updateBanBatteryList (int retryNum)

Throws
InterruptedException

public synchronized boolean updateBanBatteryListFromServer (int retryNum)

Throws
InterruptedException

public synchronized boolean updateBanBatteryListLocally ()

public void validateBattery ()