[android-components](../../index.md) / [mozilla.components.concept.sync](../index.md) / [AccountEventsObserver](index.md) / [onEvents](./on-events.md)

# onEvents

`abstract fun onEvents(events: `[`List`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[`AccountEvent`](../-account-event/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/sync/src/main/java/mozilla/components/concept/sync/AccountEvent.kt#L12)

The callback called when an account event is received

