QualityDataHelper

Types

Link copied to clipboard
data class QualityProfile(val name: UiText, val id: Int, val type: QualityDataHelper.QualityProfileType)
Link copied to clipboard

Unique guarantees that there will always be one of this type in the profile list.

Properties

Link copied to clipboard
const val AUTO_SKIP_PRIORITY: Int = 10

Automatically skip loading links once this priority is reached

Functions

Link copied to clipboard
fun getProfileName(profile: Int): UiText
Link copied to clipboard

Gets all quality profiles, always includes one profile with WiFi and Data Must under all circumstances at least return one profile

Link copied to clipboard
fun getQualityPriority(profile: Int, quality: Qualities): Int
Link copied to clipboard
fun getSourcePriority(profile: Int, name: String?): Int
Link copied to clipboard
fun setProfileName(profile: Int, name: String?)
Link copied to clipboard
fun setQualityPriority(profile: Int, quality: Qualities, priority: Int)
Link copied to clipboard
fun setSourcePriority(profile: Int, name: String, priority: Int)