AMOAddonsProvider.kt |
Implement an add-ons provider that uses the AMO API.
@property context A reference to the application context.
@property client A [Client] for interacting with the AMO HTTP api.
@property serverURL The url of the endpoint to interact with e.g production, staging
or testing. Defaults to [DEFAULT_SERVER_URL].
@property collectionUser The id or name of the user owning the collection specified in
[collectionName], defaults to [DEFAULT_COLLECTION_USER]. This is used to retrieve the
featured add-ons.
@property collectionName The name of the collection to access, defaults to
[DEFAULT_COLLECTION_NAME]. This is used to retrieve the featured add-ons.
@property maxCacheAgeInMinutes maximum time (in minutes) the cached featured add-ons
should remain valid before a refresh is attempted. Defaults to -1, meaning no cache
is being used by default
|
19836 |