public class ProfileManager
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ProfileManager.ConflictResolver
Conflict resolution provider.
|
| Constructor and Description |
|---|
ProfileManager(android.content.Context context,
RxComapiClient client,
ObservableExecutor executor)
Internal usage constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
patchProfile(ComapiProfile profile)
Applies profile patch for an active session.
|
void |
pause()
Stop managing user profile data.
|
void |
resume(ProfileManagerSubscriber subscriber)
Start managing user profile data.
|
void |
updateProfile(ComapiProfile profile)
Applies profile update for an active session.
|
public ProfileManager(android.content.Context context,
RxComapiClient client,
ObservableExecutor executor)
context - Application context.client - Foundation SDK client.public void resume(ProfileManagerSubscriber subscriber)
subscriber - Subscriber for callbacks relevant for UI updates.public void pause()
public void patchProfile(ComapiProfile profile)
profile - Profile details patch.public void updateProfile(ComapiProfile profile)
profile - Profile details update.