KaaClientFactory Class Reference

Inherits from NSObject
Declared in KaaClientFactory.h
KaaClientFactory.m

Overview

Used to create new Kaa client instances.

+ clientWithContext:stateDelegate:

Creates new Kaa client with specified platform context and state delegate.

+ (id<KaaClient>)clientWithContext:(id<KaaClientPlatformContext>)context stateDelegate:(id<KaaClientStateDelegate>)delegate

Parameters

context

Kaa platform specific context for client init

delegate

notifier for changing client state

isAutogeneratedKeys

check whether to generate public/private key pair automatically. ‘NO’ - use existing pre-generated public/private key pair. ‘YES’ - generate public/private key pair if necessary (default behaviour).

Discussion

Creates new Kaa client with specified platform context and state delegate.

Declared In

KaaClientFactory.h

+ clientWithContext:

Creates new Kaa client with specified platform context.

+ (id<KaaClient>)clientWithContext:(id<KaaClientPlatformContext>)context

Discussion

Creates new Kaa client with specified platform context.

Declared In

KaaClientFactory.h

+ clientWithStateDelegate:

Creates new Kaa client with default platform context and specified client state delegate.

+ (id<KaaClient>)clientWithStateDelegate:(id<KaaClientStateDelegate>)delegate

Discussion

Creates new Kaa client with default platform context and specified client state delegate.

Declared In

KaaClientFactory.h

+ client

Creates new Kaa client based on default platform context.

+ (id<KaaClient>)client

Discussion

Creates new Kaa client based on default platform context.

Declared In

KaaClientFactory.h