SYPositionDataSource Class Reference

The interface used to create a custom position source for SYPositioningManager. More...

#import <SYPositionDataSource.h>

Inheritance diagram for SYPositionDataSource:
Collaboration diagram for SYPositionDataSource:

Instance Methods

((unavailable("Use createWithCompletion method instead.") - __attribute__
 
(void) - start
 Notifies the data source that position updates should start. More...
 
(void) - stop
 Notifies the data source that position updates should stop. More...
 

Class Methods

((unavailable("Use createWithCompletion method instead.") + __attribute__
 

Properties

BOOL backgroundUpdatesEnabled
 Indicates whether or not position updates should continue when the app is sent to the background. Default value is NO; The position data source in use must support background updates in order to use positioning-dependent features such as navigation in the background. More...
 

Detailed Description

The interface used to create a custom position source for SYPositioningManager.

Method Documentation

◆ __attribute__ [1/2]

- ((unavailable("Use createWithCompletion method instead.") __attribute__

◆ __attribute__ [2/2]

+ ((unavailable("Use createWithCompletion method instead.") __attribute__

◆ start

- (void) start

Notifies the data source that position updates should start.

Implemented in SYDevicePositionSource.

◆ stop

- (void) stop

Notifies the data source that position updates should stop.

Implemented in SYDevicePositionSource.

Property Documentation

◆ backgroundUpdatesEnabled

- (BOOL) backgroundUpdatesEnabled
readwritenonatomicassign

Indicates whether or not position updates should continue when the app is sent to the background. Default value is NO; The position data source in use must support background updates in order to use positioning-dependent features such as navigation in the background.


The documentation for this class was generated from the following file: