ProfileManager Protocol Reference

Declared in ProfileManager.h

Overview

Interface for the profile manager.

Responsible for the management of the user-defined profile container

Profile manager is used to track any profile updates. If no container is set, Kaa won’t be able to process these updates.

– setProfileContainer: required method

Sets profile container implemented by the user.

- (void)setProfileContainer:(id<ProfileContainer>)container

Parameters

container

User-defined container

Discussion

Sets profile container implemented by the user.

Declared In

ProfileManager.h

– getSerializedProfile required method

Retrieves serialized profile

- (NSData *)getSerializedProfile

Return Value

Serialized profile data

Discussion

Retrieves serialized profile

Declared In

ProfileManager.h

– updateProfile required method

Force sync of updated profile with server

- (void)updateProfile

Discussion

Force sync of updated profile with server

Declared In

ProfileManager.h

– isInitialized required method

Retrieves ready-to-use state.

- (BOOL)isInitialized

Return Value

YES if ready.

Discussion

Retrieves ready-to-use state.

A user should provide a profile container in case of a non-default profile schema.

Declared In

ProfileManager.h