Stay organized with collections
Save and categorize content based on your preferences.
inner class PlayerNotificationManager.BitmapCallback
Receives a Bitmap
.
Summary
Public functions |
Unit |
Called when Bitmap is available.
|
Public functions
fun onBitmap(bitmap: Bitmap!): Unit
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\nKotlin \\|[Java](/reference/androidx/media3/ui/PlayerNotificationManager.BitmapCallback \"View this page in Java\")\n\n\n```\ninner 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 functions |\n|-------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) | [onBitmap](/reference/kotlin/androidx/media3/ui/PlayerNotificationManager.BitmapCallback#onBitmap(android.graphics.Bitmap))`(bitmap: `[Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html)`!)` Called when [Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html) is available. |\n\nPublic functions\n----------------\n\n### onBitmap\n\n```\nfun onBitmap(bitmap: Bitmap!): Unit\n```\n\nCalled when [Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html) is available. \n\n| Parameters |\n|---------------------------------------------------------------------------------------------|----------------------------------------------------------|\n| `bitmap: `[Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html)`!` | The bitmap to use as the large icon of the notification. |"]]