Lines Matching defs:record
41 * The type of the <em>first</em> record in the message has
42 * special importance for message dispatch, so design this record
67 * there must be at least one record, every record flag must
74 * of each record is performed, as per the documentation on
77 * basic validation during record construction fails, a
80 * each record is not performed, so it is possible to parse input
108 * @param record first record (mandatory)
111 public NdefMessage(NdefRecord record, NdefRecord ... records) {
113 if (record == null) throw new NullPointerException("record cannot be null");
117 throw new NullPointerException("record cannot be null");
122 mRecords[0] = record;
134 throw new IllegalArgumentException("must have at least one record");
148 * following code to retrieve the first record is always safe
187 * short record (SR) format and omit the identifier field when possible.
197 boolean mb = (i == 0); // first record
198 boolean me = (i == mRecords.length - 1); // last record