@Immutable @LevelUpApi(contract=DRAFT) public final class AppConstantsRequestFactory extends AbstractRequestFactory
AppConstants.| Constructor and Description |
|---|
AppConstantsRequestFactory(Context context,
AccessTokenRetriever retriever) |
| Modifier and Type | Method and Description |
|---|---|
AbstractRequest |
buildGetAppConstantsRequest(String apiKey,
int id)
Build a request to retrieve the App Constants information.
|
getAccessTokenRetriever, getContextpublic AppConstantsRequestFactory(Context context, AccessTokenRetriever retriever)
context - the Application context.retriever - the implementation of AccessTokenRetriever to use to get the User's AccessToken if needed.@AccessTokenRequired @LevelUpApi(contract=DRAFT) public AbstractRequest buildGetAppConstantsRequest(String apiKey, int id)
apiKey - the LevelUp API key of the appid - the web service ID of the app