PendingCardActivation
public struct PendingCardActivation : Sendable
PendingCardActivation indicates the card which was previously interrupted during activation.
-
state()AsynchronousFetches the state of the pending card activation.
Throws
clientError(_:)if the selected state is.appToAppSelectedand if it fails to retrieve its associated value or if there any internal error encountered.Declaration
Swift
public func state() async throws -> 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
-
invokeIDVSelection()AsynchronousInvokes the selection of the IDV method.
Throws
clientError(_:)if error occured on IDV selection.Declaration
Swift
public func invokeIDVSelection() async throws -
cancel()AsynchronousCancels the pending card activation.
Throws
clientError(_:)if error encountered on cancellation.Declaration
Swift
public func cancel() async throws -
activate(withOTP:Asynchronous) Activates the card using the OTP received.
Throws
clientError(_:)if error encountered on card activation.Declaration
Swift
public func activate(withOTP otp: Data) async throwsParameters
otpThe OTP provided.
-
resumeAppToAppActivation()AsynchronousResumes the app-to-app activation process.
Throws
clientError(_:)if error on resuming app-to-app activation process.Declaration
Swift
public func resumeAppToAppActivation() async throws -
resumeAppToAppActivation(withTAV:Asynchronous) Resumes the app-to-app activation process with TAV.
Throws
clientError(_:)if error on resuming app-to-app activation process.Declaration
Swift
public func resumeAppToAppActivation(withTAV tav: Data) async throwsParameters
tavThe TAV provided.
-
The state of pending card activation.
See moreDeclaration
Swift
public enum State : Sendable, Equatable
PendingCardActivation Structure Reference