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
-
Returns an instance of LibrarySettings
Declaration
Swift
@objc public func build() -> LibrarySettings