UALocationEvent Class Reference
Inherits from | UAEvent : NSObject |
Declared in | UALocationEvent.h |
Class Methods
locationEventWithLocation:providerType:desiredAccuracy:distanceFilter:
Creates a UALocationEvent.
+ (UALocationEvent *)locationEventWithLocation:(CLLocation *)location providerType:(nullable UALocationServiceProviderType *)providerType desiredAccuracy:(nullable NSNumber *)desiredAccuracy distanceFilter:(nullable NSNumber *)distanceFilter
Parameters
- location
Location going to UAAnalytics
- providerType
The type of provider that produced the location
- desiredAccuracy
The requested accuracy.
- distanceFilter
The requested distance filter.
Return Value
UALocationEvent populated with the necessary values
Declared In
UALocationEvent.h
significantChangeLocationEventWithLocation:providerType:
Creates a UALocationEvent for a significant location change.
+ (UALocationEvent *)significantChangeLocationEventWithLocation:(CLLocation *)location providerType:(nullable UALocationServiceProviderType *)providerType
Parameters
- location
Location going to UAAnalytics
- providerType
The type of provider that produced the location
Return Value
UALocationEvent populated with the necessary values
Declared In
UALocationEvent.h
singleLocationEventWithLocation:providerType:desiredAccuracy:distanceFilter:
Creates a UALocationEvent for a single location update.
+ (UALocationEvent *)singleLocationEventWithLocation:(CLLocation *)location providerType:(nullable UALocationServiceProviderType *)providerType desiredAccuracy:(nullable NSNumber *)desiredAccuracy distanceFilter:(nullable NSNumber *)distanceFilter
Parameters
- location
Location going to UAAnalytics
- providerType
The type of provider that produced the location
- desiredAccuracy
The requested accuracy.
- distanceFilter
The requested distance filter.
Return Value
UALocationEvent populated with the necessary values
Declared In
UALocationEvent.h
standardLocationEventWithLocation:providerType:desiredAccuracy:distanceFilter:
Creates a UALocationEvent for a standard location change.
+ (UALocationEvent *)standardLocationEventWithLocation:(CLLocation *)location providerType:(nullable UALocationServiceProviderType *)providerType desiredAccuracy:(nullable NSNumber *)desiredAccuracy distanceFilter:(nullable NSNumber *)distanceFilter
Parameters
- location
Location going to UAAnalytics
- providerType
The type of provider that produced the location
- desiredAccuracy
The requested accuracy.
- distanceFilter
The requested distance filter.
Return Value
UALocationEvent populated with the necessary values
Declared In
UALocationEvent.h