[android-components](../../index.md) / [mozilla.components.feature.media.service](../index.md) / [AbstractMediaService](index.md) / [onBind](./on-bind.md)

# onBind

`open fun onBind(intent: <ERROR CLASS>?): <ERROR CLASS>?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/media/src/main/java/mozilla/components/feature/media/service/AbstractMediaService.kt#L50)