Lines Matching defs:tag
56 // was never started or because a connection with a tag or peer has been
60 // Called when an NFC tag |tag| has been found by the adapter |adapter|.
61 // The observer can use this method to take further action on the tag object
62 // |tag|, such as reading its records or writing to it. While |tag| will be
65 // with the tag is lost. Instead of caching the pointer directly, observers
66 // should store the tag's assigned unique identifier instead, which can be
67 // used to obtain a pointer to the tag, as long as it exists.
68 virtual void TagFound(NfcAdapter* adapter, NfcTag* tag) {}
70 // Called when the NFC tag |tag| is no longer known by the adapter
71 // |adapter|. |tag| should not be cached.
72 virtual void TagLost(NfcAdapter* adapter, NfcTag* tag) {}
93 // Typedefs for lists of NFC peer and NFC tag objects.
134 // remote tag or peer.
164 // Returns a pointer to the tag with the given identifier |identifier| or
165 // NULL if no such tag is known. If a non-NULL pointer is returned, the
178 // assigned to the peer or tag and the value is a pointer to the
184 // Set the given tag or peer for |identifier|. If a tag or peer for
186 void SetTag(const std::string& identifier, NfcTag* tag);
189 // Removes the tag or peer for |identifier| and returns the removed object.
190 // Returns NULL, if no tag or peer for |identifier| was found.
194 // Clear the peer and tag maps. These methods won't delete the tag and peer