Media3 UI 모듈
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
미디어를 재생하는 앱에는 미디어를 표시하고 재생을 제어하는 사용자 인터페이스 구성요소가 필요합니다. Media3 라이브러리에는 여러 UI 구성요소가 포함된 두 개의 UI 모듈이 포함되어 있습니다.
Views 기반 UI 모듈을 사용하려면 다음 종속 항목을 추가합니다.
Kotlin
implementation("androidx.media3:media3-ui:1.8.0")
Groovy
implementation "androidx.media3:media3-ui:1.8.0"
Jetpack Compose 기반 UI 모듈에 종속되려면 다음 종속 항목을 추가하세요.
Kotlin
implementation("androidx.media3:media3-ui-compose:1.8.0")
Groovy
implementation "androidx.media3:media3-ui-compose:1.8.0"
Compose 우선 방식으로 앱을 개발하거나 뷰 사용에서 이전하는 것이 좋습니다.
참고: media3-ui-compose
모듈은 아직 media3-ui
모듈과 동등하지 않습니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-08-27(UTC)
[null,null,["최종 업데이트: 2025-08-27(UTC)"],[],[],null,["An app playing media requires user interface components for displaying media and\ncontrolling playback. The Media3 library includes two UI modules that contain a\nnumber of UI components.\n\nTo use the [Views-based UI module](/media/media3/ui/playerview), add the following dependency: \n\nKotlin \n\n```kotlin\nimplementation(\"androidx.media3:media3-ui:1.8.0\")\n```\n\nGroovy \n\n```groovy\nimplementation \"androidx.media3:media3-ui:1.8.0\"\n```\n\nTo depend on the [Jetpack Compose-based UI module](/media/media3/ui/compose), add the following\ndependency: \n\nKotlin \n\n```kotlin\nimplementation(\"androidx.media3:media3-ui-compose:1.8.0\")\n```\n\nGroovy \n\n```groovy\nimplementation \"androidx.media3:media3-ui-compose:1.8.0\"\n```\n\nWe highly encourage you to develop your app in a Compose-first fashion or\n[migrate from using Views](/develop/ui/compose/migrate).\n\n**Note:** The `media3-ui-compose` module is not yet at parity with the\n`media3-ui` module."]]