class FlyZoneLicenseInfo
class FlyZoneLicenseInfo implements KeepProguard
Package: dji.v5.manager.aircraft.flysafe.info
Description:
Restricted fly zone licenses class. Including the basic information of the unlocking licenses, such as license type, validity period, flight controller SN bound to the license, enabling status, etc. Supported since MSDK 5.3.0
Class Members:
method getLicenseType
FlySafeLicenseType getLicenseType ()
Package: dji.v5.manager.aircraft.flysafe.info
Description:
Gets the type of the restricted fly zone licnese.
Supported since MSDK 5.3.0
Return:
FlySafeLicenseType Returns the type of the restricted fly zone licnese.
method getSN
Package: dji.v5.manager.aircraft.flysafe.info
Description:
Gets the flight controller SN of the aircraft that is bound to the licnese. Supported since MSDK 5.3.0
Return:
String Returns the flight controller SN of the aircraft that is bound to the licnese.
method getStartTimeStamp
Package: dji.v5.manager.aircraft.flysafe.info
Description:
Gets the start timestamp of the validity period of the restricted fly zone license. Supported since MSDK 5.3.0
Return:
long Returns the start timestamp of the validity period of the restricted fly zone license.
method getEndTimeStamp
Package: dji.v5.manager.aircraft.flysafe.info
Description:
Gets the end timestamp of the validity period of the restricted fly zone license. Supported since MSDK 5.3.0
Return:
long Returns the send timestamp of the validity period of the restricted fly zone license.
method getLicenseId
Package: dji.v5.manager.aircraft.flysafe.info
Description:
Gets the ID of the restricted fly zone release license. Supported since MSDK 5.3.0
Return:
int Returns the ID of the restricted fly zone release license.
method isEnabled
Package: dji.v5.manager.aircraft.flysafe.info
Description:
Gets whether the restricted fly zone license is valid. You can call setFlyZoneLicensesEnabled
to enable or disable the licnese. After enabling the license, the aircraft will be able to take off normally in the restricted fly zone. Supported since MSDK 5.3.0
Return:
boolean Returns whether the restricted fly zone license is valid.
method isValid
Package: dji.v5.manager.aircraft.flysafe.info
Description:
Gets whether the restricted fly zone licnese is valid. If the licnese has expired, please re-apply the license on the DJI official website. Supported since MSDK 5.3.0
Return:
boolean Returns whether the restricted fly zone licnese is valid.
method getDescription
Package: dji.v5.manager.aircraft.flysafe.info
Description:
Gets the description of the restricted fly zone licnese. Supported since MSDK 5.3.0
Return:
String Returns the description of the restricted fly zone licnese.
method getFlyZoneIDs
List<Integer> getFlyZoneIDs ()
Package: dji.v5.manager.aircraft.flysafe.info
Description:
Gets the ID of unlock restricted fly zone. Supported since MSDK 5.3.0
Return:
List<Integer> Returns the ID of unlock restricted fly zone.
method getCylinderLatitude
float getCylinderLatitude ()
Package: dji.v5.manager.aircraft.flysafe.info
Description:
Gets the latitude of the unlock cylinder zone. Supported since MSDK 5.3.0
Return:
float Returns the latitude of the unlock cylinder zone.
method getCylinderLongitude
float getCylinderLongitude ()
Package: dji.v5.manager.aircraft.flysafe.info
Description:
Gets the longitude of the unlock cylinder zone. Supported since MSDK 5.3.0
Return:
float Returns the longitude of the unlock cylinder zone.
method getCylinderRadius
float getCylinderRadius ()
Package: dji.v5.manager.aircraft.flysafe.info
Description:
Gets the radius of the unlock cylinder zone. Supported since MSDK 5.3.0
Return:
float Returns the radius of the unlock cylinder zone.
method getCylinderHeight
Package: dji.v5.manager.aircraft.flysafe.info
Description:
Gets the height limit of the unlock cylinder zone. Supported since MSDK 5.3.0
Return:
int Returns the height limit of the cylinder zone.
method getPolygonPoints
List<LocationCoordinate2D> getPolygonPoints ()
Package: dji.v5.manager.aircraft.flysafe.info
Description:
Gets the range of the unlock polygon zone. Supported since MSDK 5.3.0
Return:
method getLimitedHeight
Package: dji.v5.manager.aircraft.flysafe.info
Description:
Gets the unlock height limit. Supported since MSDK 5.3.0
Return:
int Returns the unlock height limit.
method getCountryId
Package: dji.v5.manager.aircraft.flysafe.info
Description:
Gets the country unlock zone ID. Supported since MSDK 5.3.0
Return:
int Returns the country unlock zone ID.
method getRidUnlockType
RidUnlockType getRidUnlockType ()
Package: dji.v5.manager.aircraft.flysafe.info
Description:
Gets the RID unlock type. Supported since MSDK 5.8.0
Return: