Mistake on this page?
Report an issue in GitHub or email us
Public Types | Public Member Functions
NFCController::Delegate Struct Reference

The NFCController delegate. More...

#include <NFCController.h>

Public Types

Public Member Functions

virtual void on_discovery_terminated (nfc_discovery_terminated_reason_t reason)
 The discovery process terminated. More...
 
virtual void on_nfc_initiator_discovered (const SharedPtr< NFCRemoteInitiator > &nfc_initiator)
 A remote initiator was discovered (the local controller is in target mode). More...
 
virtual void on_nfc_target_discovered (const SharedPtr< NFCRemoteTarget > &nfc_target)
 A remote target was discovered (the local controller is in initiator mode). More...
 

Detailed Description

The NFCController delegate.

Users of the NFCController class need to implement this delegate's methods to receive events.

Definition at line 59 of file NFCController.h.

Member Enumeration Documentation

A enumeration of causes for the discovery process terminating.

Enumerator
nfc_discovery_terminated_completed 

Process completed, at least one endpoint was discovered.

nfc_discovery_terminated_canceled 

Process was canceled by the user.

nfc_discovery_terminated_rf_error 

An unexpected error was encountered during an exchange on the air interface.

Definition at line 63 of file NFCController.h.

Member Function Documentation

virtual void on_discovery_terminated ( nfc_discovery_terminated_reason_t  reason)
virtual

The discovery process terminated.

Parameters
[in]reasonthe cause for the termination

Definition at line 73 of file NFCController.h.

virtual void on_nfc_initiator_discovered ( const SharedPtr< NFCRemoteInitiator > &  nfc_initiator)
virtual

A remote initiator was discovered (the local controller is in target mode).

Parameters
[in]nfc_initiatorthe NFCRemoteInitiator instance

Definition at line 79 of file NFCController.h.

virtual void on_nfc_target_discovered ( const SharedPtr< NFCRemoteTarget > &  nfc_target)
virtual

A remote target was discovered (the local controller is in initiator mode).

Parameters
[in]nfc_targetthe NFCRemoteTarget instance

Definition at line 85 of file NFCController.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.