ProximityPresentationSessionListener

Functions

Link copied to clipboard
@EmptySuper
open fun onError(error: Throwable?)

This function is invoked when an error occurs during session creation. Implement this optional function if you need to handle session creation errors.

Link copied to clipboard
abstract fun onEstablished()

This function is invoked when a session has been established.

Link copied to clipboard
@EmptySuper
open fun onNfcEngagementCompleted()

Called when NFC engagement is successfully completed.

Link copied to clipboard
abstract fun onTerminated(error: Throwable? = null)

This function is invoked when a session is terminated.