[android-components](../../index.md) / [mozilla.components.feature.push](../index.md) / [PushSubscriptionObserver](index.md) / [onSubscriptionAvailable](./on-subscription-available.md)

# onSubscriptionAvailable

`abstract fun onSubscriptionAvailable(subscription: `[`AutoPushSubscription`](../-auto-push-subscription/index.md)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/push/src/main/java/mozilla/components/feature/push/AutoPushFeature.kt#L376)