DJI Mobile SDK Documentation

      class Callback

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

      An interface for obtaining AccessLockerState.

      Class Members:

      Callback Method

      State
      method
      method onUpdate
      void onUpdate(@NonNull AccessLockerState state)
      Package:dji.common.flightcontroller.accesslocker
      Description:

      Callback function that updates the access locker state.

      Input Parameters:
      @NonNull AccessLockerState stateThe access locker state. Use this state to check if security code is required to unlock the aircraft.