DJI Mobile SDK Documentation

      class ComponentListener

      interface ComponentListener
      Package:dji.sdk.base
      Description:

      Receives notifications of component connectivity changes.

      Class Members:
      Connectivity
      method
      method onConnectivityChange
      void onConnectivityChange(boolean isConnected)
      Package:dji.sdk.base
      Description:

      Called when the connectivity status has changes for the component. This callback will be called when the component disconnects from the product. If the product itself gets disconnected, this callback method will be called by all of the product component.

      Input Parameters:
      boolean isConnectedtrue if the component is connected.