Stay organized with collections
Save and categorize content based on your preferences.
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-02-10 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-02-10 UTC."],[],[],null,["# android.service.media\n\nAdded in [API level 21](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nandroid.service.media\n=====================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/service/media/package-summary \"View this page in Kotlin\") \\|Java\n\nClasses\n-------\n\n|-----------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|\n| [CameraPrewarmService](/reference/android/service/media/CameraPrewarmService) | Extend this class to implement a camera prewarm service. |\n| [MediaBrowserService](/reference/android/service/media/MediaBrowserService) | Base class for media browser services. |\n| [MediaBrowserService.BrowserRoot](/reference/android/service/media/MediaBrowserService.BrowserRoot) | Contains information that the browser service needs to send to the client when first connected. |\n| [MediaBrowserService.Result](/reference/android/service/media/MediaBrowserService.Result)\\\u003cT\\\u003e | Completion handler for asynchronous callback methods in [MediaBrowserService](/reference/android/service/media/MediaBrowserService). |\n\n-\n\n Classes\n -------\n\n - [CameraPrewarmService](/reference/android/service/media/CameraPrewarmService)\n - [MediaBrowserService](/reference/android/service/media/MediaBrowserService)\n - [MediaBrowserService.BrowserRoot](/reference/android/service/media/MediaBrowserService.BrowserRoot)\n - [MediaBrowserService.Result](/reference/android/service/media/MediaBrowserService.Result)"]]