Structures
The following structures are available globally.
-
Represents a Seam access credential for display, selection, and management.
Example:
let credential = SeamCredential( id: "123", name: "Main Door", location: "Lobby", expiry: Date().addingTimeInterval(3600), cardNumber: "0001", code: nil, errors: [] )
See moreNote
Instances are immutable snapshots; refresh by reading
Seam.shared.credentials.Declaration
Swift
public struct SeamCredential : Sendable, Equatable, HashableParameters
idThe unique identifier for this credential.
nameThe display name for this credential.
locationThe credential’s associated location.
expiryThe expiration date of the credential, if available.
cardNumberThe card number for this credential, if any.
codeThe access code for this credential, if any.
errorsList of credential-specific errors in priority order.
Install in Dash
Structures Reference