コード例 #1
0
 /// <summary>
 /// Event handler to manage the NFC event messages
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="args"></param>
 private void OnMessageReceived(object sender, NFCMessageEventArgs args)
 {
     if (MessageReceived != null)
     {
         MessageReceived(this, args);
     }
 }
コード例 #2
0
        void OnNFCMessageReceived(object sender, NFCMessageEventArgs args)
        {
            var eventType   = args.EventType;
            var messageData = args.Data;

            this.txtEventType.Text = eventType.ToString();
            this.txtEventData.Text = messageData;
        }