MNInitDelegate
public protocol MNInitDelegate : AnyObject
Protocol for app initiation.
-
Init success. Library will call init success if user is currently inside a building.
See also
initFailed:Declaration
Swift
func initSuccess(buildingData: MNBuildingData)Parameters
buildingDatait will pass in the building data you are currently at.
-
Init failed. If user is not near any buildings, it will call
initFailed()See also
initSuccess:buildingDataDeclaration
Swift
func initFailed() -
Init the current position. When first time get the current position from the library, this function will be called.
Declaration
Swift
func initCurrentPosition() -
Init the floor change. Everytime there is a floor change, this function will be called.
Declaration
Swift
func initFloorChange()
MNInitDelegate Protocol Reference