Performance Data Filters

@Serializable
class PerformanceDataFilters(    var launchTimeFilter: PerformanceDataFilters.PerformanceFilter? = null,     var networkRequestsFilter: PerformanceDataFilters.PerformanceFilter? = null,     var totalIssuesFilter: PerformanceDataFilters.PerformanceFilter? = null,     var issuesPerSessionFilter: PerformanceDataFilters.PerformanceFilter? = null)

The PerformanceDataFilters is used to filters the performance data to retrieve

Author

N7ghtm4r3 - Tecknobit

Constructors

Link copied to clipboard
constructor(    launchTimeFilter: PerformanceDataFilters.PerformanceFilter? = null,     networkRequestsFilter: PerformanceDataFilters.PerformanceFilter? = null,     totalIssuesFilter: PerformanceDataFilters.PerformanceFilter? = null,     issuesPerSessionFilter: PerformanceDataFilters.PerformanceFilter? = null)

Types

Link copied to clipboard
@Serializable
data class PerformanceFilter(val initialDate: Long, val finalDate: Long, val versions: List<String>)

The PerformanceFilter is the container of the filter data

Properties

Link copied to clipboard
@SerialName(value = "ISSUES_PER_SESSION" )
var issuesPerSessionFilter: PerformanceDataFilters.PerformanceFilter?

Used to filter the issues per session collected

Link copied to clipboard
@SerialName(value = "LAUNCH_TIME" )
var launchTimeFilter: PerformanceDataFilters.PerformanceFilter?

Used to filter the launch time collected

Link copied to clipboard
@SerialName(value = "NETWORK_REQUESTS" )
var networkRequestsFilter: PerformanceDataFilters.PerformanceFilter?

Used to filter the network requests collected

Link copied to clipboard
@SerialName(value = "TOTAL_ISSUES" )
var totalIssuesFilter: PerformanceDataFilters.PerformanceFilter?

Used to filter the total issues collected

Functions

Link copied to clipboard
fun getFilter(analyticType: PerformanceAnalyticType): PerformanceDataFilters.PerformanceFilter?

Method to get dynamically the filter value based on the analytic type

Link copied to clipboard
fun setFilter(type: PerformanceAnalyticType, performanceFilter: PerformanceDataFilters.PerformanceFilter?)

Method to set dynamically the filter value based on the analytic type