serviceProviderData(for:completion:)
Calls a completion handler that returns the custom data for a Secure Element pass.
Declaration
func serviceProviderData(for secureElementPass: PKSecureElementPass, completion: @escaping @Sendable (Data?, (any Error)?) -> Void)func serviceProviderData(for secureElementPass: PKSecureElementPass) async throws -> DataParameters
- secureElementPass:
The Secure Element pass to check for secure data.
- completion:
The completion block called by the system that returns the data or an error.
This block takes the following parameters:
serviceProviderDataThe custom data for the Secure Element pass; otherwise,
nil.errorIf the process fails, an Nserror that describes the failure; otherwise,
nil.