Enums
Available enums
GeoFlowLive utilizes enumerations (enums) to provide a defined set of possible values for certain configuration options and status indicators. Using these enums ensures type safety and improves code readability. The following enums are available in the GeoFlowLive library:
GeoFlowLiveLocationAccuracy Enum
The GeoFlowLiveIOSActivityType
enum informs the iOS system about the type of activity the application is performing. This allows the system to optimize location updates for the specific use case.
Value
Description
airborne
The application is tracking location for an airborne activity (e.g., flying).
automotive_navigation
The application is tracking location for automotive navigation.
fitness
The application is tracking location for fitness activities (e.g., running, cycling).
other
The application is tracking location for a purpose that doesn't fit any of the other activity types.
other_navigation
The application is tracking location for navigation purposes, but not specifically automotive navigation (e.g., pedestrian navigation).
GeoFlowLiveLocationServiceStatus Enum
The GeoFlowLiveLocationServiceStatus
enum indicates whether location services are currently enabled on the device.
Value
Description
disabled
Location services are disabled on the device.
enabled
Location services are enabled on the device.
GeoFlowLivePermission Enum
The GeoFlowLivePermission
enum indicates the current permission status granted to the app for accessing location.
Value
Description
always
The app has been granted permission to access location at all times.
while_in_use
The app has permission to access location only while it is being used.
denied
The user has denied the app permission to access location.
denied_forever
The user has denied the app permission to access location permanently.
unable_to_determine
The app is unable to determine the location permission status.
Last updated