각 Android 지원 기기는 지원하는 성능 등급을 선언합니다.
개발자는 런타임에 기기의 성능 등급을 확인하고 기기의 기능을 최대한 활용하는 업그레이드된 환경을 제공할 수 있습니다.
기기의 성능 등급 수준을 알아보려면 Jetpack Core Performance 라이브러리를 사용하세요. 이 ���이브러리는 빌드 버전 정보에 선언된 대로 또는 Google Play 서비스의 데이터를 기반으로 기기의 미디어 성능 등급 (MPC) 수준을 보고합니다.
먼저 Gradle 파일에 관련 모듈의 종속 항목을 추가합니다.
Kotlin
// Implementation of Jetpack Core library.implementation("androidx.core:core-ktx:1.12.0")// Enable APIs to query for device-reported performance class.implementation("androidx.core:core-performance:1.0.0")// Enable APIs to query Google Play services for performance class.implementation("androidx.core:core-performance-play-services:1.0.0")
Groovy
// Implementation of Jetpack Core library.implementation'androidx.core:core-ktx:1.12.0'// Enable APIs to query for device-reported performance class.implementation'androidx.core:core-performance:1.0.0'// Enable APIs to query Google Play services for performance class.implementation'androidx.core:core-performance-play-services:1.0.0'
importandroidx.core.performance.play.services.PlayServicesDevicePerformanceclassMyApplication:Application(){lateinitvardevicePerformance:DevicePerformanceoverridefunonCreate(){// Use a class derived from the DevicePerformance interfacedevicePerformance=PlayServicesDevicePerformance(applicationContext)}}
자바
importandroidx.core.performance.play.services.PlayServicesDevicePerformance;classMyApplicationextendsApplication{DevicePerformancedevicePerformance;@OverridepublicvoidonCreate(){// Use a class derived from the DevicePerformance interfacedevicePerformance=newPlayServicesDevicePerformance(applicationContext);}}
그런 다음 mediaPerformanceClass 속성을 가져와서 기기의 기능에 따라 앱 경험을 맞춤설정할 수 있습니다.
Kotlin
classMyActivity:Activity(){privatelateinitvardevicePerformance:DevicePerformanceoverridefunonCreate(savedInstanceState:Bundle?){super.onCreate(savedInstanceState)// Note: Good app architecture is to use a dependency framework. See// https://developer.android.com/training/dependency-injection for more// information.devicePerformance=(applicationasMyApplication).devicePerformance}overridefunonResume(){super.onResume()when{devicePerformance.mediaPerformanceClass>=Build.VERSION_CODES.VANILLA_ICE_CREAM->{// MPC level 35 and later.// Provide the most premium experience for the highest performing devices.}devicePerformance.mediaPerformanceClass==Build.VERSION_CODES.UPSIDE_DOWN_CAKE->{// MPC level 34.// Provide a high quality experience.}else->{// MPC level 33, 31, 30, or undefined.// Remove extras to keep experience functional.}}}}
자바
classMyActivityextendsActivity{privateDevicePerformancedevicePerformance;@OverridepublicvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);// Note: Good app architecture is to use a dependency framework. See// https://developer.android.com/training/dependency-injection for more// information.devicePerformance=((MyApplication)getApplication()).devicePerformance;}@OverridepublicvoidonResume(){super.onResume();if(devicePerformance.getMediaPerformanceClass()>=Build.VERSION_CODES.VANILLA_ICE_CREAM){// MPC level 35 and later.// Provide the most premium experience for the highest performing devices.}elseif(devicePerformance.getMediaPerformanceClass()==Build.VERSION_CODES.UPSIDE_DOWN_CAKE){// MPC level 34.// Provide a high quality experience.}else{// MPC level 33, 31, 30, or undefined.// Remove extras to keep experience functional.}}}
성능 등급 수준은 향후 버전과 호환됩니다. 기기는 성능 등급을 업데이트하지 않고 최신 플랫폼 버전으로 업그레이드할 수 있습니다. 예를 들어 처음에 성능 등급 33을 지원하는 기기는 Android 14로 업그레이드하고 성능 등급 34 요구사항을 충족하지 않으면 성능 등급 33을 지원한다고 계속 보고할 수 있습니다. 이를 통해 특정 Android 버전에 의존하지 않고 기기를 그룹화할 수 있습니다.
그림 1. 기기는 Android 버전을 업그레이드하고 원래 지원하는 클래스를 지원한다고 계속 보고할 수 있습니다.
미디어 성능 등급 35
MPC 35는 Android 15에서 도입되었으며 MPC 34에서 도입된 요구사항을 기반으로 합니다. 구체적인 MPC 35 요구사항은 Android 15 CDD에 게시됩니다.
CDD는 MPC 34의 항목 요구사항이 늘어나는 것 외에 다음 영역에서 요구사항을 지정합니다.
미디어
디코딩 프레임 드롭
HDR 편집
동적 색상 측면
세로 모드 가로세로 비율
카메라
JPEG_R
미리보기 손떨림 보정
그래픽
EGL 확장 프로그램
Vulkan 구조
미디어 성능 등급 34
MPC 34는 Android 14에서 도입되었으며 MPC 33에서 도입된 요구사항을 기반으로 합니다. 구체적인 MPC 34 요구사항은 Android 14 CDD에 게시됩니다.
CDD는 MPC 33의 항목 요구사항이 늘어나는 것 외에 다음 영역에서 요구사항을 지정합니다.
미디어
AV1 하드웨어 디코더에서 필름 입자 효과 지원
AVIF 기준 프로필
AV1 인코더 성능
HDR 동영상 코덱
RGBA_1010102 색상 형식
YUV 텍스처 샘플링
동영상 인코딩 품질
멀티채널 오디오 믹싱
카메라
야간 모드 확장 프로그램
HDR 지원 기본 카메라
얼굴 인식 장면 모드
일반
하드웨어 오버레이
HDR 디스플레이
미디어 성능 등급 33
MPC 33은 Android 13에서 도입되었으며 MPC 31에서 도입된 요구사항을 기반으로 합니다. 구체적인 MPC 33 요구사항은 Android 13 CDD에 게시됩니다.
CDD는 MPC 31의 항목 요구사항이 늘어나는 것 외에 다음 영역에서 요구사항을 지정합니다.
미디어
AV1 하드웨어 디코더
보안 하드웨어 디코더
디코더 초기화 지연 시간
왕복 오디오 지연 시간
유선 헤드셋 및 USB 오디오 기기
MIDI 기기
하드웨어가 지원되는 신뢰할 수 있는 실행 환경
카메라
미리보기 손떨림 보정
슬로우 모션 녹화
울트라와이드 카메라의 최소 확대/축소 비율
동시 카메라
논리 다중 카메라
스트림 사용 사례
미디어 성능 등급 31
MPC 31은 Android 12에서 도입되었습니다. 구체적인 MPC 31 요구사항은 Android 12 CDD에 게시됩니다.
CDD는 다음 영역에서 요구사항을 지정합니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2026-09-21(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2026-09-21(UTC)"],[],[]]