public void CreateCardContent_WritesContentForCard_ReturnsNdefMessage() { Assert.IsInstanceOfType(typeof(NdefMessage), NfcWrite.CreateCardContent(), "GetFileLocation_LocatesTheFileToStorePicture_ReturnsFileType: Did not return file of type file"); }
/* * 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); }
public void Setup() { _nfcWriter = new NfcWrite(null, null, null, "Swimming", "1"); }