Example usage for android.nfc NdefRecord toByteArray

List of usage examples for android.nfc NdefRecord toByteArray

Introduction

In this page you can find the example usage for android.nfc NdefRecord toByteArray.

Prototype

@Deprecated
public byte[] toByteArray() 

Source Link

Document

Return this NDEF Record as a byte array.

This method is deprecated, use NdefMessage#toByteArray instead.

Usage

From source file:Main.java

private static boolean areRecordsEqual(NdefRecord record, NdefRecord otherRecord) {
    return Arrays.equals(record.toByteArray(), otherRecord.toByteArray());
}