[android-components](../../index.md) / [mozilla.components.support.base.ids](../index.md) / [SharedIdsHelper](index.md) / [getNextIdForTag](./get-next-id-for-tag.md)

# getNextIdForTag

`fun getNextIdForTag(context: <ERROR CLASS>, tag: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/support/base/src/main/java/mozilla/components/support/base/ids/SharedIdsHelper.kt#L35)

Get the next available unique notification ID for the provided unique tag.

