Stay organized with collections
Save and categorize content based on your preferences.
open class MediaQualityContract
The contract between the media quality service and applications. Contains definitions for the commonly used parameter names.
Summary
Nested classes |
|
Parameters picture quality.
|
|
Parameters for sound quality.
|
Constants |
static String |
High level option for a parameter.
|
static String |
Low level option for a parameter.
|
static String |
Medium level option for a parameter.
|
static String |
Off level for parameters.
|
Constants
LEVEL_HIGH
static val LEVEL_HIGH: String
High level option for a parameter.
This level represents that the corresponding feature is turned on with the high level option.
Value: "level_high"
LEVEL_LOW
static val LEVEL_LOW: String
Low level option for a parameter.
This level represents that the corresponding feature is turned on with the low level option.
Value: "level_low"
LEVEL_MEDIUM
static val LEVEL_MEDIUM: String
Medium level option for a parameter.
This level represents that the corresponding feature is turned on with the medium level option.
Value: "level_medium"
LEVEL_OFF
static val LEVEL_OFF: String
Off level for parameters.
This level represents that the corresponding feature is turned off.
Value: "level_off"
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-03-13 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-13 UTC."],[],[],null,["# MediaQualityContract\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nMediaQualityContract\n====================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/media/quality/MediaQualityContract \"View this page in Java\") \n\n```\nopen class MediaQualityContract\n```\n\n|---|-------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.media.quality.MediaQualityContract](#) |\n\nThe contract between the media quality service and applications. Contains definitions for the commonly used parameter names.\n\nSummary\n-------\n\n| Nested classes ||\n|---|---------------------------------------------------------------------------------------------------------------------------|\n| | [PictureQuality](/reference/kotlin/android/media/quality/MediaQualityContract.PictureQuality) Parameters picture quality. |\n| | [SoundQuality](/reference/kotlin/android/media/quality/MediaQualityContract.SoundQuality) Parameters for sound quality. |\n\n| Constants ||\n|-----------------------------------------------------------------------------------------|----------------------------------------------------------------------------------|\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [LEVEL_HIGH](#LEVEL_HIGH:kotlin.String) High level option for a parameter. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [LEVEL_LOW](#LEVEL_LOW:kotlin.String) Low level option for a parameter. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [LEVEL_MEDIUM](#LEVEL_MEDIUM:kotlin.String) Medium level option for a parameter. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [LEVEL_OFF](#LEVEL_OFF:kotlin.String) Off level for parameters. |\n\nConstants\n---------\n\n### LEVEL_HIGH\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val LEVEL_HIGH: String\n```\n\nHigh level option for a parameter.\n\nThis level represents that the corresponding feature is turned on with the high level option. \n\n Value: \"level_high\"\n\n### LEVEL_LOW\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val LEVEL_LOW: String\n```\n\nLow level option for a parameter.\n\nThis level represents that the corresponding feature is turned on with the low level option. \n\n Value: \"level_low\"\n\n### LEVEL_MEDIUM\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val LEVEL_MEDIUM: String\n```\n\nMedium level option for a parameter.\n\nThis level represents that the corresponding feature is turned on with the medium level option. \n\n Value: \"level_medium\"\n\n### LEVEL_OFF\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val LEVEL_OFF: String\n```\n\nOff level for parameters.\n\nThis level represents that the corresponding feature is turned off. \n\n Value: \"level_off\""]]