Builder
@objc
public class Builder : NSObject
Helper class to create instances on LibrarySettings object
-
Establish credentials. Following the builder pattern it returns an object to itself.
Declaration
Swift
@discardableResult @objc public func setCredentials(credentials: Credentials) -> Builder
-
Establish building identifier. Following the builder pattern it returns an object to itself.
Declaration
Swift
@discardableResult @objc public func setBuildingId(buildingId: String) -> Builder
-
Establish if customization is needed. Following the builder pattern it returns an object to itself.
Declaration
Swift
@discardableResult @objc public func setUseDashboardTheme(useDashboardTheme: Bool) -> Builder
-
Establish google map object. Following the builder pattern it returns an object to itself.
Declaration
Swift
@discardableResult @objc public func setGoogleMap(googleMap: GMSMapView) -> Builder
-
Establish if user configure icon position
Declaration
Swift
@discardableResult @objc public func setUserPositionIcon(userPositionIcon: String) -> Builder
-
Establish if user configure arrow icon position
Declaration
Swift
@discardableResult @objc public func setUserPositionArrowIcon(userPositionArrowIcon: String) -> Builder
-
Set the text that will be used as placeholder in the search view component.
Declaration
Swift
@discardableResult @objc public func setSearchViewPlaceholder(searchViewPlaceholder: String) -> Builder
-
Establish the usage of remote configuration to initialize the location system (customizable in dashboard)
Declaration
Swift
@discardableResult @objc public func setUseRemoteConfig(useRemoteConfig: Bool) -> Builder
-
Boolean that configure if the name of the POIs is shown above its icons when painting them on the map
Declaration
Swift
@discardableResult @objc public func setShowPoiNames(showPoiNames: Bool) -> Builder
-
Sets whether the POI finder is visible
Declaration
Swift
@discardableResult @objc public func setShowSearchBar(showSearchBar: Bool) -> Builder
-
Sets whether the back button is visible
Note
Since 0.18.0 when showBackButton is set to true the library no longer stop positioning when user taps in the back buttonDeclaration
Swift
@discardableResult @objc public func setShowBackButton(showBackButton: Bool) -> Builder
-
Sets whether to enable marker clustering of pois displayed or not
Declaration
Swift
@discardableResult @objc public func setEnablePoiClustering(enablePoisClustering: Bool) -> Builder
-
Sets whether the navigation indications is visible
Declaration
Swift
@discardableResult @objc public func setShowNavigationIndications(showNavigationIndications: Bool) -> Builder
-
Sets whether the floors list is visible
Declaration
Swift
@discardableResult @objc public func setFloorsListVisible(floorsListVisible: Bool) -> Builder
-
Sets whether the positioning button is visible
Declaration
Swift
@discardableResult @objc public func setPositioningFabVisible(positioningFabVisible: Bool) -> Builder
-
Min zoom that will be set on the underlying map.
- This method inherits all the technical considerations that applies to the underlying map
(see GMSMapView Class Reference).
@param minZoomLevel Min zoom preference.
Declaration
Swift
@discardableResult @objc public func setMinZoom(minZoom: Float) -> Builder
-
Max zoom that will be set on the underlying map.
- This method inherits all the technical considerations that applies to the underlying map
(see GMSMapView Class Reference).
@param maxZoom Max zoom preference.
Declaration
Swift
@discardableResult @objc public func setMaxZoom(maxZoom: Float) -> Builder
-
Returns an instance of LibrarySettings
Declaration
Swift
@objc public func build() -> LibrarySettings