[android-components](../../index.md) / [mozilla.components.concept.push](../index.md) / [PushProcessor](index.md) / [onNewToken](./on-new-token.md)

# onNewToken

`abstract fun onNewToken(newToken: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/push/src/main/java/mozilla/components/concept/push/PushProcessor.kt#L38)

A new registration token has been received.

