Code example for Properties

Methods: getProperty, isEmpty

0
       intentFilters = new IntentFilter[] {intentFilter, };
 
    } 
 
    private Item getItem(ItemInfo itemInfo) {
    	if(!tagData.isEmpty()) {
    		Item item = new Item(itemInfo);
        	String price = tagData.getProperty(TagField.PRICE.getKey());
        	item.setPrice(getPrice(price));
        	return item;
    	} 
    	return null; 
	} 
 
	private ItemInfo getItemInfo() { 
		 
		 if(!tagData.isEmpty()) {
	        	 
	        	String upc = tagData.getProperty(TagField.UPC.getKey());
	        	if(null == upc) {
	        		return null;