public final class ModuleUsers
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
ModuleUsers.Async
Async module.
|
Constructor and Description |
---|
ModuleUsers(retrofit2.Retrofit retrofit,
java.util.concurrent.Executor callbackExecutor,
boolean environmentIdConfigured)
Create module.
|
Modifier and Type | Method and Description |
---|---|
ModuleUsers.Async |
async() |
protected com.contentful.java.cma.ServiceUsers |
createService(retrofit2.Retrofit retrofit) |
CMAUser |
fetchMe()
Fetch your user information.
|
public ModuleUsers(retrofit2.Retrofit retrofit, java.util.concurrent.Executor callbackExecutor, boolean environmentIdConfigured)
retrofit
- the retrofit instance to be used to create the service.callbackExecutor
- to tell on which thread it should run.environmentIdConfigured
- internal helper to see if environment was set.protected com.contentful.java.cma.ServiceUsers createService(retrofit2.Retrofit retrofit)
public ModuleUsers.Async async()
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.