Sha256: 2ee5cc43ec04a5fd60c97b66149ab64e118e0470bf105aece51990c0fb8b8bd6
Contents?: true
Size: 573 Bytes
Versions: 9
Compression:
Stored size: 573 Bytes
Contents
package com.nfc; import android.nfc.NdefMessage; import com.rhomobile.rhodes.Utils; public class NfcMessagePack { private NfcMessage[] mMessages = null; public NfcMessagePack(NdefMessage[] msgs) { mMessages = new NfcMessage[msgs.length]; int i; for (i = 0; i < msgs.length; i++) { mMessages[i] = new NfcMessage(msgs[i]); } } public int getItemCount() { if (mMessages == null) { return 0; } return mMessages.length; } public NfcMessage getItem(int index) { if (mMessages == null) { return null; } return mMessages[index]; } }
Version data entries
9 entries across 9 versions & 1 rubygems