DJI Mobile SDK Documentation

      class Listener

      interface Listener
      Package:dji.sdk.mission.timeline.triggers
      Description:

      Listener interface for Trigger events.

      Class Members:

      Callback Method

      State
      method
      method onEvent
      void onEvent(Trigger trigger, TriggerEvent event, @Nullable DJIError error)
      Package:dji.sdk.mission.timeline.triggers
      Description:

      Called when a trigger event occurs.

      Input Parameters:
      Trigger triggerThe instance of the trigger.
      TriggerEvent eventThe event type which caused the call.
      @Nullable DJIError errorAn optional error.