KaaClientStateDelegate Protocol Reference

Conforms to NSObject
Declared in KaaClientStateDelegate.h

Overview

Notifies about Kaa client state changes and errors

– onStarted

On successful start of Kaa client. Kaa client is successfully connected to Kaa cluster and is ready for usage.

- (void)onStarted

Discussion

On successful start of Kaa client. Kaa client is successfully connected to Kaa cluster and is ready for usage.

Declared In

KaaClientStateDelegate.h

– onStartFailureWithException:

On failure during Kaa client startup. Typically failure is related to network issues.

- (void)onStartFailureWithException:(NSException *)exception

Discussion

On failure during Kaa client startup. Typically failure is related to network issues.

Declared In

KaaClientStateDelegate.h

– onPaused

On successful pause of Kaa client. Kaa client is successfully paused and does not consume any resources now.

- (void)onPaused

Discussion

On successful pause of Kaa client. Kaa client is successfully paused and does not consume any resources now.

Declared In

KaaClientStateDelegate.h

– onPauseFailureWithException:

On failure during Kaa client pause. Typically related to failure to free some resources.

- (void)onPauseFailureWithException:(NSException *)exception

Discussion

On failure during Kaa client pause. Typically related to failure to free some resources.

Declared In

KaaClientStateDelegate.h

– onResume

On successful resume of Kaa client. Kaa client is successfully connected to Kaa cluster and is ready for usage.

- (void)onResume

Discussion

On successful resume of Kaa client. Kaa client is successfully connected to Kaa cluster and is ready for usage.

Declared In

KaaClientStateDelegate.h

– onResumeFailureWithException:

On failure during Kaa client resume. Typically failure is related to network issues.

- (void)onResumeFailureWithException:(NSException *)exception

Discussion

On failure during Kaa client resume. Typically failure is related to network issues.

Declared In

KaaClientStateDelegate.h

– onStopped

On successful stop of Kaa client. Kaa client is successfully stopped and does not consume any resources now.

- (void)onStopped

Discussion

On successful stop of Kaa client. Kaa client is successfully stopped and does not consume any resources now.

Declared In

KaaClientStateDelegate.h

– onStopFailureWithException:

On failure during Kaa client stop. Typically related to failure to free some resources.

- (void)onStopFailureWithException:(NSException *)exception

Discussion

On failure during Kaa client stop. Typically related to failure to free some resources.

Declared In

KaaClientStateDelegate.h