Field

public class Field : Hashable

The Field enum defines the characteristics of a device.

  • The constant values of this enum.

    See more

    Declaration

    Swift

    public enum Values : String
  • Get the Field instance associated with the specified alias. The String must match exactly, including case.

    Seealso

    Field

    Declaration

    Swift

    public static func fromAlias(alias: String) -> Field

    Parameters

    alias

    The alias to look for

    Return Value

    The Field instance matching the specified alias

  • Get a new value set initialized with all possible Field values.

    Declaration

    Swift

    public static func all() -> [Field.Values]

    Return Value

    A new Field.Values of all possible Field values.

  • Get the alias of this Field. The alias is the name the server uses for the field.

    Seealso

    Field

    Declaration

    Swift

    public func alias() -> String

    Return Value

    The alias of this Field.