Stay organized with collections
Save and categorize content based on your preferences.
public final inner class PlayerNotificationManager.BitmapCallback
Receives a Bitmap
.
Summary
Public methods |
void |
Called when Bitmap is available.
|
Public methods
public void onBitmap(Bitmap bitmap)
Called when Bitmap
is available.
Parameters |
Bitmap bitmap |
The bitmap to use as the large icon of the notification.
|
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-05-15 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-05-15 UTC."],[],[],null,["# PlayerNotificationManager.BitmapCallback\n========================================\n\nArtifact: [androidx.media3:media3-ui](/jetpack/androidx/releases/media3) \n[View Source](https://cs.android.com/search?q=file:androidx/media3/ui/PlayerNotificationManager.java+class:androidx.media3.ui.PlayerNotificationManager.BitmapCallback)\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/media3/ui/PlayerNotificationManager.BitmapCallback \"View this page in Kotlin\") \\|Java\n\n\n```\npublic final inner class PlayerNotificationManager.BitmapCallback\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nReceives a [Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html).\n\nSummary\n-------\n\n| ### Public methods |\n|--------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `void` | [onBitmap](/reference/androidx/media3/ui/PlayerNotificationManager.BitmapCallback#onBitmap(android.graphics.Bitmap))`(`[Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html)` bitmap)` Called when [Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html) is available. |\n\nPublic methods\n--------------\n\n### onBitmap\n\n```\npublic void onBitmap(Bitmap bitmap)\n```\n\nCalled when [Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html) is available. \n\n| Parameters |\n|-----------------------------------------------------------------------------------------|----------------------------------------------------------|\n| [Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html)` bitmap` | The bitmap to use as the large icon of the notification. |"]]