Code example for Parcel

Methods: readDouble, readLong, readParcelable, readString

0
            return new ACtxQuality[size]; 
        } 
    }; 
     
    private ACtxQuality(Parcel in) {
    	attribute = in.readParcelable(ACtxAttribute.class.getClassLoader());
    	getLastUpdated().setTime(in.readLong());
    	 
    	try { 
    		originType = CtxOriginType.valueOf(in.readString());
    	} catch (IllegalArgumentException x) {
    		originType = null;
    	} 
  
    	precision = in.readDouble();
    	updateFrequency = in.readDouble();
    } 
     
	/** 
	 * Returns the context attribute associated to this QoC information. 
	 *