DJI Mobile SDK Documentation

      class Listener

      interface Listener
      Package:dji.sdk.mission
      Description:

      Listener used to process Timeline events.

      Class Members:

      Callback Method

      On Event
      method
      method onEvent
      void onEvent(@Nullable TimelineElement element, TimelineEvent event, @Nullable DJIError error)
      Package:dji.sdk.mission
      Description:

      Listener used to process Timeline events.

      Input Parameters:
      @Nullable TimelineElement elementThe Timeline element associated with the event, or null if the event is global to the whole Timeline (e.g. start, finish the Timeline).
      TimelineEvent eventEvent.
      @Nullable DJIError errorThe optional error if the event was error-related.