[android-components](../../index.md) / [mozilla.components.lib.push.amazon](../index.md) / [AbstractAmazonPushService](index.md) / [onMessage](./on-message.md)

# onMessage

`open fun onMessage(intent: <ERROR CLASS>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/lib/push-amazon/src/main/java/mozilla/components/lib/push/amazon/AbstractAmazonPushService.kt#L54)