[android-components](../../index.md) / [mozilla.components.feature.addons.amo](../index.md) / [AddOnCollectionProvider](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`AddOnCollectionProvider(context: <ERROR CLASS>, client: `[`Client`](../../mozilla.components.concept.fetch/-client/index.md)`, serverURL: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` = DEFAULT_SERVER_URL, collectionName: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` = DEFAULT_COLLECTION_NAME, maxCacheAgeInMinutes: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)` = -1)`

Provide access to the collections AMO API.
https://addons-server.readthedocs.io/en/latest/topics/api/collections.html

