init()
Creates a contactless card session.
Declaration
init() async throwsDiscussion
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: