From wiki.ginstr.com
Jump to: navigation, search
m (formatting)
 
Line 7: Line 7:
  
 
;Can be used on  
 
;Can be used on  
: [[GnEditText]]
+
: <code>[[GnEditText]]</code>
  
 
;Additional required attributes on bound widget
 
;Additional required attributes on bound widget
Line 13: Line 13:
  
 
==Event signature==
 
==Event signature==
;<code>gn:act_setOnNfc="action{n}"</code>
+
:;<code>gn:act_setOnNfc="action{n}"</code>
  
 
===Example===
 
===Example===
<code>gn:act_setOnNfc="[gn:act_trigger]|[@+id/scanResidentNfcTagUid,gn:act_set]"</code>
+
:<code>gn:act_setOnNfc="[gn:act_trigger]|[@+id/scanResidentNfcTagUid,gn:act_set]"</code>
 
<hr>
 
<hr>

Latest revision as of 21:13, 12 July 2017

gn:act_setOnNfc

Description
Event executed when NFC tag is scanned.
Can be used on
GnEditText
Additional required attributes on bound widget
gn:s_sourceType="NFC"

Event signature

gn:act_setOnNfc="action{n}"

Example

gn:act_setOnNfc="[gn:act_trigger]|[@+id/scanResidentNfcTagUid,gn:act_set]"