# class FlyZoneInformation

    final class FlyZoneInformation

Package: | dji.v5.manager.aircraft.flysafe.info

##### Description:

Restricted fl zone information class. Including restricted-fly zone ID, restricted fly zone name, type of restricted fly zone, restricted fly zone shape, restricted fly zone strategy, etc.
`Supported since MSDK 5.3.0`

##### Class Members:

#### Basic Information

method
getFlyZoneID

###### method getFlyZoneID

    int getFlyZoneID()

Package: | dji.v5.manager.aircraft.flysafe.info

##### Description:

Gets the fly zone's ID.
`Supported since MSDK 5.3.0`

##### Return:

int | Returns the fly zone's ID.

method
getName

###### method getName

    String getName()

Package: | dji.v5.manager.aircraft.flysafe.info

##### Description:

Gets the name of the fly zone.
`Supported since MSDK 5.3.0`

##### Return:

String | Returns the name of the fly zone.

method
getFlyZoneType

###### method getFlyZoneType

    FlyZoneType getFlyZoneType()

Package: | dji.v5.manager.aircraft.flysafe.info

##### Description:

Gets the type fly zone. Includes airports, parks, schools, stadium, etc.
`Supported since MSDK 5.3.0`

##### Return:

FlyZoneType | Returns the type fly zone.

method
getCategory

###### method getCategory

    FlyZoneCategory getCategory()

Package: | dji.v5.manager.aircraft.flysafe.info

##### Description:

Gets the category of the fly zone. Includes restricted zone, authorization zone, warning zone and enhanced warning zone, etc.
`Supported since MSDK 5.3.0`

##### Return:

FlyZoneCategory | Returns the category of the fly zone.

method
getShape

###### method getShape

    FlyZoneShape getShape()

Package: | dji.v5.manager.aircraft.flysafe.info

##### Description:

Gets the shape of the fly zone. Includes circles and polygons.
`Supported since MSDK 5.3.0`

##### Return:

FlyZoneShape | Returns the shape of the fly zone.

#### GeoZone Data

method
getLowerLimit

###### method getLowerLimit

    double getLowerLimit()

Package: | dji.v5.manager.aircraft.flysafe.info

##### Description:

Gets the lower limit of GeoZone data, currently only supports EU GeoZone data.
`Supported since MSDK 5.3.0`

##### Return:

double | Returns the lower limit of GeoZone data.

method
getUpperLimit

###### method getUpperLimit

    double getUpperLimit()

Package: | dji.v5.manager.aircraft.flysafe.info

##### Description:

Gets the upper limit of GeoZone data, currently only supports EU GeoZone data.
`Supported since MSDK 5.3.0`

##### Return:

double | Returns the upper limit of GeoZone data.

#### Circular Restricted Fly Zone Information

method
getCircleCenter

###### method getCircleCenter

    LocationCoordinate2D getCircleCenter()

Package: | dji.v5.manager.aircraft.flysafe.info

##### Description:

Gets the coordinates of the center of the circular restricted-fly zone.
`Supported since MSDK 5.3.0`

##### Return:

LocationCoordinate2D | Returns the coordinates of the center of the circular restricted-fly zone.

method
getCircleRadius

###### method getCircleRadius

    double getCircleRadius()

Package: | dji.v5.manager.aircraft.flysafe.info

##### Description:

Gets the radius of the circular restricted fly zone.
`Supported since MSDK 5.3.0`

##### Return:

double | Returns the radius of the circular restricted fly zone.

#### Polygon Restricted Fly Zone Information

method
getMultiPolygonFlyZoneInformation

###### method getMultiPolygonFlyZoneInformation

    List<MultiPolygonFlyZoneInformation> getMultiPolygonFlyZoneInformation()

Package: | dji.v5.manager.aircraft.flysafe.info

##### Description:

Gets the polygon restricted fly zone information. Contains cylindrical and polygonal no-fly zone information.
`Supported since MSDK 5.3.0`

##### Return:

List<MultiPolygonFlyZoneInformation> | Returns information about the restricted fly zone for the polygon.

×

## Search Mobile SDK Document

{{searchCount}} Results

- ### {{{(item.highlights && item.highlights.title) || item.title}}}

  {{{(item.highlights && item.highlights.content[0]) || item.title}}}

Load More
Loading...
Not Found