OYMLocationDelegate Protocol Reference

Conforms to NSObject
Declared in OYMLocationDelegate.h

Overview

This delegate will provide feedback to the user regarding the Goindoor location library.

– didStartSuccessfully required method

This method is called when the Goindoor location service has been correctly started.

- (void)didStartSuccessfully

Declared In

OYMLocationDelegate.h

– didFailStarting required method

This method is called when an exception is thrown when trying to start the Goindoor location service.

- (void)didFailStarting

Declared In

OYMLocationDelegate.h

– onLocation: required method

This method is called when a new position is available.

- (void)onLocation:(OYMLocationResult *)location

Parameters

location

User position

Declared In

OYMLocationDelegate.h

– onNotification: required method

This method is callen when a notification is triggered.

- (void)onNotification:(OYMNotificationResult *)notification

Parameters

notification

Notification triggered

Declared In

OYMLocationDelegate.h

– locationAlwaysAuthorizationRequired:

This method is called when the app has not the right authorisation for the Location Services.

- (void)locationAlwaysAuthorizationRequired:(CLAuthorizationStatus)current

Parameters

current

Current Authorisation Permission

Declared In

OYMLocationDelegate.h

– locationServicesAreDisabled

This method is called when the Location Services are disabled.

- (void)locationServicesAreDisabled

Declared In

OYMLocationDelegate.h

– centralManagerDidChangeState:

This method is called when the Core Blueooth Central Manager state has changed.

- (void)centralManagerDidChangeState:(CBCentralManagerState)state

Parameters

state

The new Core Blueooth Central Manager state

Declared In

OYMLocationDelegate.h