From wiki.ginstr.com
Revision as of 16:18, 12 July 2017 by Mark (talk | contribs) (Example)
Jump to: navigation, search

gn:act_nfcWidgetSoundChange

Description
Action used to change NFC sound from default to custom when NFC tag is scanned.
Action returns
void

Action signatures

Change sound

[gn:act_nfcWidgetSoundChange]|[target,fileName]
Parameter Description
target target where the sound will be changed
fileName hardcoded value which represents name of file stored in assets folder

Example

@+id/nfcScan - GnEditText
myCustomNfcSound.mp3 - sound file name
[gn:act_nfcWidgetSoundChange]|[@+id/nfcScan,myCustomNfcSound.mp3]