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

The NFCRemoteInitiator delegate. More...

#include <NFCRemoteInitiator.h>

Inheritance diagram for NFCRemoteInitiator::Delegate:
NFCRemoteEndpoint::Delegate NFCNDEFCapable::Delegate

Public Member Functions

virtual void on_connected ()
 This method is called when the endpoint is connected. More...
 
virtual void on_disconnected ()
 This method is called when the endpoint is lost (air interface link disconnnected) More...
 
virtual void parse_ndef_message (const Span< const uint8_t > &buffer)
 Parse a NDEF message. More...
 
virtual size_t build_ndef_message (const Span< uint8_t > &buffer)
 Build a NDEF message. More...
 

Detailed Description

The NFCRemoteInitiator delegate.

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

Definition at line 58 of file NFCRemoteInitiator.h.

Member Function Documentation

virtual size_t build_ndef_message ( const Span< uint8_t > &  buffer)
virtualinherited

Build a NDEF message.

Parameters
[in]buffera mutable buffer in which the message should be stored
Returns
the number of bytes actually used

Definition at line 76 of file NFCNDEFCapable.h.

virtual void on_connected ( )
virtualinherited

This method is called when the endpoint is connected.

Definition at line 59 of file NFCRemoteEndpoint.h.

virtual void on_disconnected ( )
virtualinherited

This method is called when the endpoint is lost (air interface link disconnnected)

Definition at line 64 of file NFCRemoteEndpoint.h.

virtual void parse_ndef_message ( const Span< const uint8_t > &  buffer)
virtualinherited

Parse a NDEF message.

Parameters
[in]buffera buffer containing the message to parse

Definition at line 67 of file NFCNDEFCapable.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.