VersionFilter

open class VersionFilter

The VersionFilter model represents a blacklist system management represented by the VersionFilter constructor. It is based on:

The mustFilter method informs whether the filter is applied.

Constructors

Link copied to clipboard
open fun VersionFilter(@Nullable manufacturer: String, minimumAPIVersion: Int)
Constructs the filter.

Functions

Link copied to clipboard
open fun mustFilter(@NonNull manufacturer: String, systemAPIVersion: Int): Boolean
Checks if a specific filter is applied.

Properties

Link copied to clipboard
The manufacturer's identifier.
Link copied to clipboard
The earliest Android API version that should be impacted by the blacklist filers.