public class DefaultProfileManager extends Object implements ProfileManager
ProfileManager
implementationConstructor and Description |
---|
DefaultProfileManager(ProfileTransport transport) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getSerializedProfile()
Retrieves serialized profile
|
boolean |
isInitialized()
Retrieves ready-to-use state.
|
void |
setProfileContainer(ProfileContainer container)
Sets profile container implemented by the user.
|
void |
updateProfile()
Force sync of updated profile with server
|
public DefaultProfileManager(ProfileTransport transport)
public void setProfileContainer(ProfileContainer container)
ProfileManager
setProfileContainer
in interface ProfileManager
container
- User-defined containerpublic byte[] getSerializedProfile() throws IOException
ProfileManager
getSerializedProfile
in interface ProfileManager
IOException
- the io exceptionpublic void updateProfile()
ProfileManager
updateProfile
in interface ProfileManager
public boolean isInitialized()
ProfileManager
isInitialized
in interface ProfileManager
Copyright © 2016. All rights reserved.