MMKIndoorStateListener

protocol MMKIndoorStateListener : NSObjectProtocol

Allows to handle events related to Indoor state.

Summary

Instance methods

func onActivePlanFocused(withActivePlan activePlan: MMKIndoorPlan)
Notifies when user view focuses on a new plan (plan is NonNull)

func onActivePlanLeft()
Notifies when user view leaves focus on a current active plan

func onActiveLevelChanged(withActiveLevelId activeLevelId: String)
Notifies when the current active level is changed on the active plan

Instance methods

onActivePlanFocused(withActivePlan:)

func onActivePlanFocused(withActivePlan activePlan: MMKIndoorPlan)

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

Parameters

activePlan

is valid until onActivePlanLeft call.


onActivePlanLeft()

func onActivePlanLeft()

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


onActiveLevelChanged(withActiveLevelId:)

func onActiveLevelChanged(withActiveLevelId activeLevelId: String)

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