Package es.situm.sdk.location
Class ExternalLocation.Builder
java.lang.Object
es.situm.sdk.location.ExternalLocation.Builder
- Enclosing class:
- ExternalLocation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccuracy(float accuracy) How precise the user location is (in meters).Anglethat represents the orientation is facing the user's device.build()Builds theExternalLocation.
-
Constructor Details
-
Builder
-
-
Method Details
-
accuracy
How precise the user location is (in meters).- Parameters:
accuracy- float. Defaults to 0.0 meters
-
bearing
Anglethat represents the orientation is facing the user's device. If not specified, the external location will be represented with no orientation inMapView.- Parameters:
bearing-Angle(degrees or radians).
-
build
Builds theExternalLocation.- Returns:
- a
ExternalLocationinstance.
-