Performance
Data
Item
The PerformanceDataItem
class is a
container of single performance data collected
Author
N7ghtm4r3 - Tecknobit
Constructors
Link copied to clipboard
constructor()
Constructor to init the PerformanceDataItem class
constructor(versions: List<String>, analytics: List<PerformanceAnalytic>, analyticType: PerformanceAnalytic.PerformanceAnalyticType, customFiltered: Boolean)
Constructor to init the PerformanceDataItem class
constructor(data: Map<String, List<PerformanceAnalytic>>, analyticType: PerformanceAnalytic.PerformanceAnalyticType, customFiltered: Boolean)
Constructor to init the PerformanceDataItem class
constructor(jItem: JSONObject)
Constructor to init the PerformanceDataItem class
Properties
Link copied to clipboard
analyticType
the type of the
analytic collected
Link copied to clipboard
customFiltered
whether the
collected data have been filtered with custom filters
Link copied to clipboard
IS_CUSTOM_FILTERED_KEY
the key for the "is_custom_filtered" field
Link copied to clipboard
MAX_TEMPORAL_RANGE
the
maximum temporal range allowed for the data retrieving
(about 3 months)
Functions
Link copied to clipboard
private open fun getAnalyticByVersion(appVersion: String, analytics: ArrayList<PerformanceAnalytic>): List<PerformanceAnalytic>
Method to group the analytics by their
version
Link copied to clipboard
Method to get the final date of the temporal
range of each list present in the data
Link copied to clipboard
Method to get the initial date of the
temporal range of each list present in the data
Link copied to clipboard
Method to get customFiltered instance
Link copied to clipboard
Method to check if there are no data
available in the data instance
Link copied to clipboard
Method to get keys of the data instance