Code example for Tag

Methods: getId

0
    public NfcTag(Tag tag) {
        this.tag = tag;
    } 
 
    public byte[] getId() { 
        return tag.getId();
    } 
     
    public void putTagService(Intent intent) {
        intent.putExtra(NfcAdapter.EXTRA_TAG, tag);
    } 
 
    public String getType() {
        return TYPE_OTHER;
    } 
     
    public String getTechListAsString() {
        return Util.getHexString(tag.getTechList());
    } 
}