sdk library

Classes

Angle
An structure that contains an angle in radians and in degrees.
Bounds
Represents a rectangle bounds in a greographic 2D space.
Building
A building.
BuildingInfo
A building and its dependencies: Floors, Pois and Geofences.
CartesianCoordinate
An structure that contains cartesian coordinate.
CircleArea
ConfigurationOptions
Coordinate
An structure that contains geographical coordinate that follows the WGS 84 coordinate system standard.
DirectionsRequest
Parameters to request a route.
Error
code LOCATION_PERMISSION_DENIED
Event
Floor
Floor of a Building.
ForegroundServiceNotificationOptions
A data object that let you customize the Foreground Service Notification that will be shown in the system's tray when the app is running as a Foreground Service. To be used with LocationRequest. Only applies for Android.
Geofence
Represents a geographic region in a Building. Can be monitored to check if an user enter or exits the polygon and to get analytics.
InternalCall
Represents an internal method call and encapsulates the type of call and associated data, previously processed by the SDK. For internal use only.
Location
A location. It can be indoor or outdoor, check isIndoor and isOutdoor. A valid indoor location has floorIdentifier and cartesianCoordinate.
LocationRequest
A data object that allows you to configure the positioning parameters.
NamedResource
A data object that allows you to configure the navigation parameters.
OnEnteredGeofenceResult
OnExitedGeofenceResult
OutdoorLocationOptions
When you build the LocationRequest, this data object configures the Global Mode options.
Poi
Point of Interest, associated to a Building, regardless of whether it's place inside or outside the building.
PoiCategory
Category of Point of Interest.
Point
Associate geographical coordinate (Location) with Building and Floor (Cartography) and cartesian coordinate relative to that building.
PrefetchOptions
RouteProgress
SitumRoute
SitumSdk
Main entry point for the Situm Flutter SDK. Use SitumSdk to start positioning, calculate routes and fetch resources.

Enums

AccessibilityMode
Available accessibility modes used in the DirectionsRequest.
ErrorType
InternalCallType
Set of method calls that are being delegated by the SDK. For internal use only.
RealtimeUpdateInterval
Enum that allows to specify whether the geolocations computed should be sent to Situm Platform, and if so with which periodicity (time interval).

Constants

situmSdkChannelId → const String

Functions

createAccessibilityMode(dynamic arguments) AccessibilityMode?
createBounds(Map map) Bounds
createBuilding(Map map) Building
createBuildingInfo(Map map) BuildingInfo
createCartesianCoordinate(Map map) CartesianCoordinate
createCategory(Map map) PoiCategory
createCircleArea(Map map) CircleArea
createCoordinate(Map map) Coordinate
createDirectionsRequest(dynamic arguments) DirectionsRequest
createEvent(Map map) Event
createFloor(Map map) Floor
createGeofence(Map map) Geofence
createList<T>(List maps, Function mapper) List<T>
createLocation(dynamic args) Location
createNavigationRequest(dynamic arguments) NavigationRequest
createPoi(Map map) Poi
createPoint(dynamic arguments) Point
createRoute(dynamic arguments) SitumRoute
stringFromArgsOrEmptyId(dynamic arguments, String key) String
Returns the value of argumentskey or "-1" if the value is null.

Typedefs

OnDirectionsRequestedCallback = dynamic Function(DirectionsRequest directionsRequest)
OnEnteredGeofencesCallback = void Function(OnEnteredGeofenceResult onEnterGeofenceResult)
OnExitedGeofencesCallback = void Function(OnExitedGeofenceResult onExitGeofenceResult)
OnLocationErrorCallback = void Function(Error error)
OnLocationStatusCallback = void Function(String status)
OnLocationUpdateCallback = void Function(Location location)
OnNavigationCancellationCallback = void Function()
OnNavigationDestinationReachedCallback = void Function(SitumRoute route)
OnNavigationOutOfRouteCallback = void Function()
OnNavigationProgressCallback = void Function(RouteProgress progress)
OnNavigationStartCallback = void Function(SitumRoute route)