MNUrlManager

@objc
open class MNUrlManager : NSObject
  • Declaration

    Swift

    public func getRoot(dataType: EnumDataType) -> String

    Return Value

    The root part of the URL

  • Declaration

    Swift

    public func getCMSRoot(_ currentVersion: String = "v1") -> String
  • Declaration

    Swift

    public func getFilerRoot() -> String
  • Declaration

    Swift

    public func getFilerDataUrl() -> String
  • Returns the URL for retrieving data depending on the type of request

    Declaration

    Swift

    public func getUrl(type: MNRequestType) -> String

    Parameters

    type

    The type of request (propertyInfo, buildingData, etc)

    Return Value

    The URL for the requested data

  • Declaration

    Swift

    @objc
    public func getAnalyticsUrl(type: AnalyticsType) -> String

    Parameters

    type

    The type of analytics data. Please refer to AnalyticsType.

    Return Value

    The URL for analytics

  • Declaration

    Swift

    @objc
    public func getPostLivePositionUrl() -> String
  • Declaration

    Swift

    @objc
    public func getDataCaptureURL() -> String
  • Declaration

    Swift

    @objc
    public func getPostUserFirebaseTokenUrl() -> String
  • Declaration

    Swift

    public func getForceUpdateCheckUrl() -> String

    Return Value

    The URL for forcing update