DJI Mobile SDK Documentation

      class VideoSizeListener

      interface VideoSizeListener
      Package:dji.sdk.util
      Description:

      Interface for listening to changes in video size

      Class Members:

      Callback Interfaces

      method onVideoSizeChanged
      void onVideoSizeChanged(int width, int height, int relativeWidth, int relativeHeight)
      Package:dji.sdk.util
      Description:

      Invoked when the video size is changed.

      Input Parameters:
      int widthThe width of the video size.
      int heightThe height of the video size.
      int relativeWidthThe relative width of the video size.
      int relativeHeightThe relative height of the video size.