Enumerations

The following enumerations are available globally.

  • Enumerates the various labels used recording and reporting Analytics

    See more

    Declaration

    Swift

    public enum MapstedAnalyticsLabels
  • Declaration

    Swift

    public enum DeepLinkConcern
  • Declaration

    Swift

    public enum DeepLinkParameter
  • Declaration

    Swift

    public enum LocationError : Error
  • Declaration

    Swift

    public enum PropertyAction
  • Enumeration to represent the current download status of property/building

    See more

    Declaration

    Swift

    public enum DownloadStatus
  • Declaration

    Swift

    public enum CMSCategoryType
  • Declaration

    Swift

    public enum SocialMedium : String
  • Declaration

    Swift

    @objc
    public enum StatusMessageType : Int
  • Enumerates the various ways network resource can be reached

    See more

    Declaration

    Swift

    @objc
    public enum IsReachable : Int
  • Enumerates the different types of validation for building data

    See more

    Declaration

    Swift

    public enum ValidationType : Int
  • Encapsulates types of request from the network.

    See more

    Declaration

    Swift

    public enum MNRequestType : Int
  • Encapsulates the conditions for re-attempting network requests

    See more

    Declaration

    Swift

    public enum MNNetworkRetryType : Int
  • Declaration

    Swift

    public enum iCategoryType
  • AFError is the error type returned by Alamofire. It encompasses a few different types of errors, each with their own associated reasons.

    • invalidURL: Returned when a URLConvertible type fails to create a valid URL.
    • parameterEncodingFailed: Returned when a parameter encoding object throws an error during the encoding process.
    • multipartEncodingFailed: Returned when some step in the multipart encoding process fails.
    • responseValidationFailed: Returned when a validate() call fails.
    • responseSerializationFailed: Returned when a response serializer encounters an error in the serialization process.
    See more

    Declaration

    Swift

    public enum AFError : Error
    extension AFError: LocalizedError
  • Declaration

    Swift

    public enum HTTPMethod : String
  • Used to represent whether a request was successful or encountered an error.

    • success: The request and all post processing operations were successful resulting in the serialization of the provided associated value.

    • failure: The request encountered an error resulting in a failure. The associated values are the original data provided by the server as well as the error that caused the failure.

    See more

    Declaration

    Swift

    public enum Result<Value>
    extension Result: CustomStringConvertible
    extension Result: CustomDebugStringConvertible

ServerTrustPolicy

  • The ServerTrustPolicy evaluates the server trust generally provided by an NSURLAuthenticationChallenge when connecting to a server over a secure HTTPS connection. The policy configuration then evaluates the server trust with a given set of criteria to determine whether the server trust is valid and the connection should be made.

    Using pinned certificates or public keys for evaluation helps prevent man-in-the-middle (MITM) attacks and other vulnerabilities. Applications dealing with sensitive customer data or financial information are strongly encouraged to route all communication over an HTTPS connection with pinning enabled.

    • performDefaultEvaluation: Uses the default server trust evaluation while allowing you to control whether to validate the host provided by the challenge. Applications are encouraged to always validate the host in production environments to guarantee the validity of the server’s certificate chain.

    • performRevokedEvaluation: Uses the default and revoked server trust evaluations allowing you to control whether to validate the host provided by the challenge as well as specify the revocation flags for testing for revoked certificates. Apple platforms did not start testing for revoked certificates automatically until iOS 10.1, macOS 10.12 and tvOS 10.1 which is demonstrated in our TLS tests. Applications are encouraged to always validate the host in production environments to guarantee the validity of the server’s certificate chain.

    • pinCertificates: Uses the pinned certificates to validate the server trust. The server trust is considered valid if one of the pinned certificates match one of the server certificates. By validating both the certificate chain and host, certificate pinning provides a very secure form of server trust validation mitigating most, if not all, MITM attacks. Applications are encouraged to always validate the host and require a valid certificate chain in production environments.

    • pinPublicKeys: Uses the pinned public keys to validate the server trust. The server trust is considered valid if one of the pinned public keys match one of the server certificate public keys. By validating both the certificate chain and host, public key pinning provides a very secure form of server trust validation mitigating most, if not all, MITM attacks. Applications are encouraged to always validate the host and require a valid certificate chain in production environments.

    • disableEvaluation: Disables all evaluation which in turn will always consider any server trust as valid.

    • customEvaluation: Uses the associated closure to evaluate the validity of the server trust.

    See more

    Declaration

    Swift

    public enum ServerTrustPolicy
  • Declaration

    Swift

    public enum CategoryType
  • Declaration

    Swift

    public enum MapEntityType
  • Declaration

    Swift

    public enum MNMapLayerPlacement
  • Declaration

    Swift

    public enum MapstedMapDelta
  • Declaration

    Swift

    public enum Translations : String
  • Declaration

    Swift

    public enum CurrentViewHeight
  • Enum representing the current map state.

    See more

    Declaration

    Swift

    public enum MapState : Int
  • Declaration

    Swift

    public enum RoutingRequestType
  • Declaration

    Swift

    public enum RouteInterruptionMode
  • Declaration

    Swift

    public enum RoutingState : String
  • Declaration

    Swift

    public enum SearchStyle
  • Declaration

    Swift

    public enum ActionText : String
  • Declaration

    Swift

    public enum NotifyCategory
  • Declaration

    Swift

    public enum TriggerType
  • Declaration

    Swift

    public enum LocMarketingError : Error
  • Declaration

    Swift

    public enum AlertApiError : Error
  • Declaration

    Swift

    public enum RecurrenceFrequency
  • Declaration

    Swift

    public enum BaseMapStyle
  • Declaration

    Swift

    public enum SearchStyle
  • Declaration

    Swift

    public enum AppTemplateBuiltinBarItem
  • Declaration

    Swift

    public enum AppTemplateCustomTabBarItem
  • Declaration

    Swift

    public enum SearchResultSection : Int
  • Declaration

    Swift

    public enum Translations
  • The type of action that can be done on a tag

    See more

    Declaration

    Swift

    public enum ActionType
  • Declaration

    Swift

    public enum SectionName