Protocol

NFCVASReaderSessionDelegate

A protocol that an object implements to receive callbacks from a VAS reader session.

Declaration

protocol NFCVASReaderSessionDelegate

Topics

Handling Session Activation

func readerSessionDidBecomeActive(NFCVASReaderSession)

Tells the delegate that the reader session is active.

Receiving VAS Responses

func readerSession(NFCVASReaderSession, didReceive: [NFCVASResponse])

Tells the delegate that the reader session received a VAS response.

Required.

class NFCVASResponse

An object representing the response from a single GET VAS DATA command.

Handling an Invalidated Session

func readerSession(NFCVASReaderSession, didInvalidateWithError: Error)

Tells the delegate that the session become invalid and provides the reason.

Required.

Relationships

Inherits From

See Also

Creating a VAS Reader Session