Classes

The following classes are available globally.

  • AeroGear Core SDK Internal SDK to be used directly by SDK modules

    See more

    Declaration

    Swift

    public class AgsCore
  • Static helper class responsible for parsing mobile configuration

    See more

    Declaration

    Swift

    public final class ConfigParser
  • AeroGear Mobile Services Configuration Entrypoint for parsing and processing configuration for individual services.

    This class is responsible for providing configurations for services of certain types. Configuration is stored in single json file that contains multiple individual service configurations and metadata. Service developers can query configuration for certain types. See top level core interface for more information

    • Example usage: config['myServiceType']
    See more

    Declaration

    Swift

    public class ServiceConfig
  • Wrapper class used for network requests

    See more

    Declaration

    Swift

    public class AgsHttp
  • Class that should be extende by all implementations that want to provide logging functionality Note: This class is moved from protocol because logger interface requires to provide default values for line numbers etc. Class can be also used to disable SDK logging

    See more

    Declaration

    Swift

    open class AgsLoggable
  • Collect application metrics:

    • appId - application bundle id
    • appVersion - version of the application
    • sdkVersion - AeroGear Services SDK version
    See more

    Declaration

    Swift

    public class AppMetrics : Metrics
  • Collect device metrics:

    • platform - ios
    • platformVersion - version of the ios platform
    • device - device name
    See more

    Declaration

    Swift

    public class DeviceMetrics : Metrics