Lines Matching refs:records
33 * NDEF defines messages and records. An NDEF Record contains
70 * This parser can handle chunked records, and converts them
73 * records, basic validation of the tnf, type, id, and payload fields
109 * @param records additional records (optional)
111 public NdefMessage(NdefRecord record, NdefRecord ... records) {
115 for (NdefRecord r : records) {
121 mRecords = new NdefRecord[1 + records.length];
123 System.arraycopy(records, 0, mRecords, 1, records.length);
129 * @param records one or more records
131 public NdefMessage(NdefRecord[] records) {
133 if (records.length < 1) {
136 for (NdefRecord r : records) {
138 throw new NullPointerException("records cannot contain null");
142 mRecords = records;
154 * @return array of one or more NDEF records.
186 * This method will not chunk any records, and will always use the
221 NdefRecord[] records = new NdefRecord[recordsLength];
222 in.readTypedArray(records, NdefRecord.CREATOR);
223 return new NdefMessage(records);