Contents

init()

Creates a contactless card session.

Declaration

init() async throws

Discussion

Creating a card session depends on the following conditions:

  • The device is eligible to use a card session.

  • The person using the app has accepted the app’s request to use a card session.

This initializer throws an error of type CardSession.Error if it can’t create a card session. Possible error conditions are:

See Also

Creating a card session