# PlayerNotificationManager.BitmapCallback

# PlayerNotificationManager.BitmapCallback

Artifact:[androidx.media3:media3-ui](https://developer.android.com/jetpack/androidx/releases/media3)  
[View Source](https://cs.android.com/search?q=file:androidx/media3/ui/PlayerNotificationManager.java+class:androidx.media3.ui.PlayerNotificationManager.BitmapCallback)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/ui/PlayerNotificationManager.BitmapCallback "View this page in Java")

<br />

```
inner class PlayerNotificationManager.BitmapCallback
```

<br />

*** ** * ** ***

Receives a[Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html).

## Summary

|                             ### Public functions                              |
|-------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) | [onBitmap](https://developer.android.com/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. |

## Public functions

### onBitmap

```
fun onBitmap(bitmap: Bitmap!): Unit
```

Called when[Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html)is available.  

|                                         Parameters                                          |
|---------------------------------------------------------------------------------------------|----------------------------------------------------------|
| `bitmap: `[Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html)`!` | The bitmap to use as the large icon of the notification. |