MMKIndoorStateListener

@protocol MMKIndoorStateListener <NSObject>

Allows to handle events related to Indoor state.

Summary

Instance methods

- (void)onActivePlanFocusedWithActivePlan:(nonnull MMKIndoorPlan *)activePlan;
Notifies when user view focuses on a new plan (plan is NonNull)

- (void)onActivePlanLeft;
Notifies when user view leaves focus on a current active plan

- (void)onActiveLevelChangedWithActiveLevelId:(nonnull NSString *)activeLevelId;
Notifies when the current active level is changed on the active plan

Instance methods

onActivePlanFocusedWithActivePlan:

- (void)onActivePlanFocusedWithActivePlan:(nonnull MMKIndoorPlan *)activePlan;

Notifies when user view focuses on a new plan (plan is NonNull).

Parameters

activePlan

is valid until onActivePlanLeft call.


onActivePlanLeft

- (void)onActivePlanLeft;

Notifies when user view leaves focus on a current active plan.


onActiveLevelChangedWithActiveLevelId:

- (void)onActiveLevelChangedWithActiveLevelId:(nonnull NSString *)activeLevelId;

Notifies when the current active level is changed on the active plan.