Platform Screen View Model

class PlatformScreenViewModel(val applicationId: String, val platform: <Error class: unknown class>)

The PlatformScreenViewModel class is the support class used to execute the requests related to the PlatformScreen

Author

N7ghtm4r3 - Tecknobit

Parameters

applicationId

The identifier of the application displayed

platform

The specific platform of the application displayed

See also

EquinoxViewModel
ViewModel
FetcherManagerWrapper

Constructors

Link copied to clipboard
constructor(applicationId: String, platform: <Error class: unknown class>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
lateinit var analyticType: MutableState<<Error class: unknown class>>

analyticType -> the type of the analytic displayed

Link copied to clipboard
Link copied to clipboard
val filtersSet: StateFlow<Boolean>
Link copied to clipboard
lateinit var filtersState: ChipTextFieldState<Chip>

filtersState -> the state used to contain the filters for the issues

Link copied to clipboard

newVersionFilters -> the new versions to filter the _performanceData

Link copied to clipboard
val paginationState: <Error class: unknown class>

paginationState -> the state used to manage the pagination for the loadIssues method

Link copied to clipboard
val performanceData: StateFlow<<Error class: unknown class>?>
Link copied to clipboard
val platform: <Error class: unknown class>

Functions

Link copied to clipboard

Method to clear the current filters selected by the user

Link copied to clipboard
fun clearPerformanceFilter(data: <Error class: unknown class>)

Method to clear the current for the performance data filters selected by the user

Link copied to clipboard
fun filterIssues(onSuccess: () -> Unit)

Method to filter the issues to load

Link copied to clipboard
fun filterPerformance(data: <Error class: unknown class>, state: DateRangePickerState, onFilter: () -> Unit)

Method to filter the performance data collected

Link copied to clipboard
fun getAvailableVersionsSamples(data: <Error class: unknown class>): SnapshotStateList<String>

Method to get all the available version samples for the performance data collected

Link copied to clipboard

Method to request the performance data analytics