From wiki.ginstr.com
Jump to: navigation, search
m (Mark moved page Gn:act setOnBT to gn:act setOnBT)
Line 1: Line 1:
 
<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div>
 
<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div>
 
<span STYLE="font-size: xx-large"><code>gn:act_setOnBT</code></span>
 
<span STYLE="font-size: xx-large"><code>gn:act_setOnBT</code></span>
[[Category:Action_Sets]]
+
[[Category:Events]]
  
<code>[[gn:act_setOnBT]]</code> is an [[:Category:Action_Sets|action set]] that is executed every time Bluetooth fingerprint data is read from the device.
+
;Description
 +
: Event executed every time Bluetooth fingerprint data is read from the device
  
;Can be used on widgets: <code>[[GnEditText]]</code> which has <code>[[GnEditText#gn:s_sourceType|gn:s_sourceType]]="bt"</code>
+
;Can be used on  
 +
: [[GnEditText]]
  
;Event trigger for action: reading of Bluetooth fingerprint data from device
+
;Additional required attributes on bound widget
 +
: <code>[[GnEditText#gn:s_sourceType|gn:s_sourceType]]="bt"</code>
  
;Can be used as: an [[:Category:Actions#Action_types|event action]]
+
==Event signature==
 +
;<code>gn:act_setOnBT="action{n}"</code>
  
;Additional required attributes on bound widget: <code>[[GnEditText#gn:s_sourceType|gn:s_sourceType]]="bt"</code>
+
===Example===
==Action signature==
+
<code>gn:act_setOnBT="[gn:act_trigger]|[@+id/scanResidentNfcTagUid,gn:act_set]"</code>
;<code>gn:act_setOnBT=[action]|[actValue],[action2]|[actValue],….”</code>
+
<hr>

Revision as of 17:01, 15 March 2017

gn:act_setOnBT

Description
Event executed every time Bluetooth fingerprint data is read from the device
Can be used on
GnEditText
Additional required attributes on bound widget
gn:s_sourceType="bt"

Event signature

gn:act_setOnBT="action{n}"

Example

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