DJI Mobile SDK Documentation

      class LocationUtil

      class LocationUtil
      Package:dji.sdk.util
      Description:

      Util class to get location based information.

      Class Members:
      Check In Macau
      method
      method isInMacau
      static boolean isInMacau()
      Package:dji.sdk.util
      Description:

      Check if the drone location is in Macau.

      Return:
      static booleantrue if current location is Macau.
      Check In Hong Kong
      method
      method isInHongKong
      static boolean isInHongKong()
      Package:dji.sdk.util
      Description:

      Check if the drone location is in Hong Kong.

      Return:
      static booleantrue if current location is Hong Kong.
      Check In China
      method
      method isInChina
      static boolean isInChina()
      Package:dji.sdk.util
      Description:

      Check if the drone location is in China.

      Return:
      static booleantrue if current location is in China.