class DJIFlightHubStatistics
@interface DJIFlightHubStatistics : NSObject
|
Header: | DJIFlightHubBaseTypes.h |
Inherits From: | NSObject |
Description:
The flight statistics includes total and average flight duration. It also provides a distributed diagram data of flight duration.
Class Members:
property totalDuration
@property (nonatomic, readonly) double totalDuration
|
Header: | DJIFlightHubBaseTypes.h |
Description:
Gets total flight duration over a period of time in minutes.
property averageDuration
@property (nonatomic, readonly) double averageDuration
|
Header: | DJIFlightHubBaseTypes.h |
Description:
Gets average flight duration over a period of time in minutes.
property durationDistribution
@property (nonatomic, readonly) NSDictionary<NSString *, NSNumber *> *durationDistribution
|
Header: | DJIFlightHubBaseTypes.h |
Description:
Gets the histogram distribution of the flight durations (in minutes). The duration intervals are [0, 5), [5, 10), [10, 15), [15, 20) and [20, +∞).
Return A NSDictionary with string keys DJIFlightHubDurationRange0To5Keys
, DJIFlightHubManager_DJIFlightHubDurationRange5To10Keys, DJIFlightHubDurationRange10To15Keys
, DJIFlightHubDurationRange15To20Keys
and DJIFlightHubDurationRange20PlusKeys
in order. The values are the number of flights in the duration range.