# class FlySafeWarningInformation

    class FlySafeWarningInformation

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

##### Description:

Fly safety warning information. Including the event enumeration and description of fly safety warning information, height limit and fly zone information.
`Supported since MSDK 5.3.0`

##### Class Members:

method
getEvent

###### method getEvent

    FlySafeWarningEvent getEvent()

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

##### Description:

Gets the event of fly safety warning.
`Supported since MSDK 5.3.0`

##### Return:

FlySafeWarningEvent | Returns the event of fly safety warning.

method
getDescription

###### method getDescription

    String getDescription()

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

##### Description:

Gets the description of fly safety warning.
`Supported since MSDK 5.3.0`

##### Return:

String | Returns the description of fly safety warning.

method
getHeightLimit

###### method getHeightLimit

    int getHeightLimit()

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

##### Description:

Gets the height limit of current fly zone. Returns 0 if not in the height limit zone.
`Supported since MSDK 5.3.0`

##### Return:

int | Returns the height limit of current fly zone.

method
getFlyZoneInformation

###### method getFlyZoneInformation

    List<FlyZoneInformation> getFlyZoneInformation()

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

##### Description:

Gets information about the fly zones. Returns null if not in a restricted fly zone.
`Supported since MSDK 5.3.0`

##### Return:

List<FlyZoneInformation> | Returns information about the fly zones.

×

## 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