GeoEngine class
The main entry point for the GeoEngine SDK.
Use this class to initialize the tracking system and handle location updates securely.
Constructors
Properties
- androidCloudProjectNumber → String?
-
The project number for Android Google Cloud, used for Device Integrity.
final
- apiKey → String
-
The API key used for authenticating with the GeoEngine services.
final
- debug → bool
-
Whether to enable debug logging to the console.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ingestUrl → String
-
The base URL for the data ingestion API.
final
- managementUrl → String
-
The base URL for the management API.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeout → Duration
-
The timeout duration for HTTP requests.
final
Methods
-
close(
) → void - Closes the SDK instance and releases resources.
-
createGeofence(
{required String name, required List< List< coordinates, required String webhookUrl}) → Future<double> >Map< String, dynamic> > - Creates a new geofence polygon.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendLocation(
{required String deviceId, required double latitude, required double longitude, int? timestamp}) → Future< void> - Sends a location point to the GeoEngine system.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- debugSimulateAndroid ↔ bool?
-
getter/setter pair
Static Methods
-
initialize(
) → Future< void> - Initializes the local environment for the SDK.