미디어 브라우저 서비스 개요
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
지원되는 MediaBrowserServiceCompat
또는 MediaLibraryService
클래스를 확장하여 미디어 브라우저 서비스를 만듭니다. 그러면 Android Auto와 Android Automotive OS (AAOS)에서 서비스를 사용하여 다음 작업을 할 수 있습니다.
미디어 브라우저 서비스를 사용하여 다른 클라이언트가 앱의 미디어 콘텐츠에 액세스하도록 허용할 수도 있습니다. 이러한 미디어 클라이언트는 사용자 휴대전화의 다른 앱이거나 다른 원격 클라이언트일 수 있습니다.
목차
다음 페이지에서는 미디어 브라우저를 사용하는 방법을 자세히 설명합니다.
디자인 가이드라인
디자인 가이드라인에 대해 자세히 알아보려면 다음을 참고하세요.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-08-22(UTC)
[null,null,["최종 업데이트: 2025-08-22(UTC)"],[],[],null,["# Media browser service overview\n\nYou create a media browser service by extending the supported\n[`MediaBrowserServiceCompat`](/reference/androidx/media/MediaBrowserServiceCompat) or [`MediaLibraryService`](/media/media3/session/serve-content) classes. Android\nAuto and Android Automotive OS (AAOS) can then use your service to:\n\n- Browse your app's content hierarchy to present a menu to the user.\n\n- Get the token for your app's [`MediaSessionCompat`](/reference/android/support/v4/media/session/MediaSessionCompat) object to control\n audio playback.\n\nYou can also use your media browser service to let other clients access media\ncontent from your app. These media clients might be other apps on a user's\nphone, or they can be other remote clients.\n\nContents\n--------\n\nThese pages detail how to work with the media browser:\n\n- [Media browser lifecycle](/training/cars/media/create-media-browsers/workflow)\n- [Build content hierarchy](/training/cars/media/create-media-browser/content-hierarchy)\n- [Apply content styles](/training/cars/media/create-media-browser/content-styles)\n- [Display media artwork](/training/cars/media/create-media-browser/media-artwork)\n- [Display browsable search results](/training/cars/media/create-media-browser/browsable-search)\n- [Implement custom browse actions](/training/cars/media/create-media-browser/custom-browse-actions)\n\nDesign guidelines\n-----------------\n\nTo learn more about design guidelines, see:\n\n- [Plan navigation tabs](https://developers.google.com/cars/design/create-apps/media-apps/navigation-tabs)\n- [Plan browsing views](https://developers.google.com/cars/design/create-apps/media-apps/browsing-views)"]]