DJI Mobile SDK Documentation

      class Callback

      interface Callback
      Package:dji.common.flightcontroller.flightassistant
      Description:

      Callback to update the FaceAwareState.

      Class Members:

      Callback Method

      State
      method
      method onUpdate
      void onUpdate(FaceAwareState state)
      Package:dji.common.flightcontroller.flightassistant
      Description:

      Callback function that updates the FaceAware state. When starting a PalmLaunch, the aircraft will start FaceAware. If FaceAware activates successfully, the motors will start spinning and the aircraft will hover after releasing it.

      Input Parameters:
      FaceAwareState stateThe face sware state.