Identity

struct Identity

Identifies a module by name and version.

  • The module’s identifier name (e.g., “messaging”, “inApp”, “cards”)

    Declaration

    Swift

    public let name: String
  • The module’s version string (e.g., “1.2.3”)

    Declaration

    Swift

    public let version: String
  • Creates a new identity instance.

    Declaration

    Swift

    public init(name: String, version: String)

    Parameters

    name

    The module’s identifier name

    version

    The module’s version string