DJI Mobile SDK Documentation

      class TimeLapsePreviewCallback

      interface TimeLapsePreviewCallback
      Package:dji.sdk.camera
      Description:

      Tells the callback that a preview image for the Time-lapse is generated. This method is available only when isTimeLapseSupported returns TRUE.

      Class Members:

      Callback Method

      State
      method
      method onGenerate
      void onGenerate(@NonNull Bitmap previewImage)
      Package:dji.sdk.camera
      Description:

      Called when a time-lapse preview image has been generated. This method is only available on Osmo with firmware version v1.5.2.0 or above.

      Input Parameters:
      @NonNull Bitmap previewImageThe new generated preview image.