RadarUserInsights
Objective-C
@interface RadarUserInsights : NSObject
Swift
class RadarUserInsights : NSObject
Represents the learned home, work, traveling and commuting state and locations of the current user.
-
The learned home location of the user. May be
nil
if not yet learned, or if Insights is turned off.Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) RadarUserInsightsLocation *homeLocation;
Swift
var homeLocation: RadarUserInsightsLocation? { get }
-
The learned office location of the user. May be
nil
if not yet learned, or if Insights is turned off.Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) RadarUserInsightsLocation *officeLocation;
Swift
var officeLocation: RadarUserInsightsLocation? { get }
-
The state of the user, based on learned home and office locations.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nonnull) RadarUserInsightsState *state;
Swift
var state: RadarUserInsightsState { get }