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.media.projection\n\nAdded in [API level 21](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nandroid.media.projection\n========================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/media/projection/package-summary \"View this page in Kotlin\") \\|Java\n\nClasses\n-------\n\n|------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [MediaProjection](/reference/android/media/projection/MediaProjection) | A token granting applications the ability to capture screen contents and/or record system audio. |\n| [MediaProjection.Callback](/reference/android/media/projection/MediaProjection.Callback) | Callbacks for the projection session. |\n| [MediaProjectionConfig](/reference/android/media/projection/MediaProjectionConfig) | Configure the [MediaProjection](/reference/android/media/projection/MediaProjection) session requested from [MediaProjectionManager.createScreenCaptureIntent(MediaProjectionConfig)](/reference/android/media/projection/MediaProjectionManager#createScreenCaptureIntent(android.media.projection.MediaProjectionConfig)). |\n| [MediaProjectionManager](/reference/android/media/projection/MediaProjectionManager) | Manages the retrieval of certain types of [MediaProjection](/reference/android/media/projection/MediaProjection) tokens. |\n\n-\n\n Classes\n -------\n\n - [MediaProjection](/reference/android/media/projection/MediaProjection)\n - [MediaProjection.Callback](/reference/android/media/projection/MediaProjection.Callback)\n - [MediaProjectionConfig](/reference/android/media/projection/MediaProjectionConfig)\n - [MediaProjectionManager](/reference/android/media/projection/MediaProjectionManager)"]]