Esempio n. 1
0
 public void CreateCardContent_WritesContentForCard_ReturnsNdefMessage()
 {
     Assert.IsInstanceOfType(typeof(NdefMessage), NfcWrite.CreateCardContent(), "GetFileLocation_LocatesTheFileToStorePicture_ReturnsFileType: Did not return file of type file");
 }
Esempio n. 2
0
 /*
  * Method name:  Write
  * Purpose: This is to write to a card
  */
 public async Task Write(Context context, Activity activity, Intent intent)
 {
     NfcWrite writer = new NfcWrite(context, activity, _tapCardAlertBox.GetDialog(), _inputMessage, _typeSelected);
     await writer.Write(intent);
 }
Esempio n. 3
0
 public void Setup()
 {
     _nfcWriter = new NfcWrite(null, null, null, "Swimming", "1");
 }