SITLocationInterface Protocol Reference

Conforms to NSObject
Declared in SITLocationInterface.h

Overview

General interface every object providing location should conform to.

– requestLocationUpdates: required method

Provides APIs for requesting users current location.

- (void)requestLocationUpdates:(nonnull SITLocationRequest *)request

Parameters

request

SITLocationRequest object

Declared In

SITLocationInterface.h

– state required method

State of the shared instance.

- (SITLocationState)state

Return Value

SITLocationState value that indicates the actual state of the system

Declared In

SITLocationInterface.h

– removeUpdates required method

Stops the delivery of location updates.

- (void)removeUpdates

Discussion

This method has no efect if the system is not running.

Declared In

SITLocationInterface.h