RadarTrackingOptions

@interface RadarTrackingOptions : NSObject

An options class used to configure Radar tracking.

  • Determines how frequently location updates are requested on the client. Defaults to RadarTrackingPriorityResponsiveness.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) RadarTrackingPriority priority;

    Swift

    var priority: RadarTrackingPriority { get set }
  • Determines whether to replay offline location updates to the server. Defaults to RadarTrackingOfflineReplayStopped.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) RadarTrackingOffline offline;

    Swift

    var offline: RadarTrackingOffline { get set }
  • Determines which location updates to sync to the server. Defaults to RadarSyncModeStateChanges.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) RadarTrackingSync sync;

    Swift

    var sync: RadarTrackingSync { get set }
  • Convenience block initializer for this class.

    Declaration

    Objective-C

    + (nonnull instancetype)makeWithBlock:
        (nonnull void (^)(RadarTrackingOptions *_Nonnull))updateBlock;

    Swift

    class func make(updateBlock: @escaping (RadarTrackingOptions) -> Void) -> Self