SITLocationParametersUpdate

Objective-C

@interface SITLocationParametersUpdate : NSObject

Swift

class SITLocationParametersUpdate : NSObject

Data structure that stores information about changes in parameters of the location system that will be performed on the fly.

  • Bool value that determines if modifying the devices to follow aplies (true) or not (false)

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL updateDevicesToFollow;

    Swift

    var updateDevicesToFollow: Bool { get }
  • List of identifiers the location system will follow. To stop following all the devices you should update the system with an empty list.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<NSString *> *_Nonnull devicesToFollow;

    Swift

    var devicesToFollow: [String] { get }
  • Builder method that creates an instance of SITLocationParametersUpdate class.

    Declaration

    Objective-C

    + (nonnull instancetype)updateWithBlock:
        (nonnull void (^)(id<SITLocationParametersUpdateBuilder> _Nonnull))
            buildBlock;

    Swift

    convenience init(block buildBlock: @escaping (SITLocationParametersUpdateBuilder) -> Void)