[android-components](../../index.md) / [mozilla.components.concept.engine.webpush](../index.md) / [WebPushHandler](index.md) / [onSubscriptionChanged](./on-subscription-changed.md)

# onSubscriptionChanged

`abstract fun onSubscriptionChanged(subscription: `[`WebPushSubscription`](../-web-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/concept/engine/src/main/java/mozilla/components/concept/engine/webpush/WebPush.kt#L27)

Invoked when a subscription has now changed/expired.

