RadarUserInsightsState

Objective-C

@interface RadarUserInsightsState : NSObject

Swift

class RadarUserInsightsState : NSObject

Represents the learned home, work, traveling and commuting state of the current user.

  • A boolean indicating whether the user is at home, based on learned home location.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL home;

    Swift

    var home: Bool { get }
  • A boolean indicating whether the user is at the office, based on learned office location.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL office;

    Swift

    var office: Bool { get }
  • A boolean indicating whether the user is traveling, based on learned home location.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL traveling;

    Swift

    var traveling: Bool { get }
  • A boolean indicating whether the user is commuting, based on learned home location.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL commuting;

    Swift

    var commuting: Bool { get }