Class ExternalLocation.Builder

  • Enclosing class:
    ExternalLocation

    public static final class ExternalLocation.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder​(java.lang.String buildingIdentifier,
                       java.lang.String floorIdentifier,
                       double latitude,
                       double longitude)
    • Method Detail

      • accuracy

        public ExternalLocation.Builder accuracy​(float accuracy)
        How precise the user location is (in meters).
        Parameters:
        accuracy - float. Defaults to 0.0 meters
      • bearing

        public ExternalLocation.Builder bearing​(@NonNull
                                                Angle bearing)
        Angle that represents the orientation is facing the user's device. If not specified, the external location will be represented with no orientation in MapView.
        Parameters:
        bearing - Angle (degrees or radians).