Host

public struct Host : Codable

Information about the host.

  • Type of the host e.g. ‘iOS’.

    Declaration

    Swift

    public let type: String?
  • Version of the host e.g. ‘12.0’.

    Declaration

    Swift

    public let version: String?
  • Current region of the host.

    Declaration

    Swift

    public let region: String?
  • Language currently in use on the host.

    Declaration

    Swift

    public let language: String?
  • Model of the host.

    Declaration

    Swift

    public let model: String?
  • Create Host metadata from system.

    Declaration

    Swift

    public static func from(device: UIDevice, locale: Locale) -> MimiTestMetadata.Host
    Parameters
    device

    Device to use.

    locale

    Locale to use.

    Return Value

    Host metadata.