PendingCardActivationSession
public struct PendingCardActivationSession : Sendable
PendingCardActivationSession indicates the card which the Id&V has not been performed.
-
state()AsynchronousFetches the state of the pending card activation.
Throws
clientError(_:)if the state is.appToAppSelectedand it failed to retrieve its associated value or if any internal error encountered.Declaration
Swift
public func state() async throws -> PendingCardActivation.StateReturn Value
Staterepresenting the current status of the pending card activation. -
cardArt()AsynchronousFetches the card art of the pending card for display purpose.
Declaration
Swift
public func cardArt() async -> DigitalCard.CardArt?Return Value
-
cardMetaData()AsynchronousFetches the card MetaData of the pending card.
Declaration
Swift
public func cardMetaData() async -> DigitalCard.CardMetaData?Return Value
-
resume()AsynchronousResumes the activation process. Application should call
eventStreamto handle each event.Throws
clientError(_:)if resuming card activation fails or if any internal error encountered.Declaration
Swift
public func resume() async throws -
cancel()AsynchronousCancels the pending card activation.
Throws
clientError(_:)- if error encountered on reading card lifecycle or during cancellation.Declaration
Swift
public func cancel() async throws
PendingCardActivationSession Structure Reference