Code example for Parcel

Methods: readByteArray, readDouble, readInt, readLong, readString

0
    }; 
        
    private ACtxHistoryAttribute(Parcel in) {
    	super(in);
//    	this.lastUpdated.setTime(in.readLong()); 
    	this.lastUpdated = new Date (in.readLong());
		this.stringValue = in.readString();
		this.integerValue = in.readInt();
		this.doubleValue = in.readDouble();
		this.binaryValue = new byte[in.readInt()];
		in.readByteArray(this.binaryValue);
		 
    	try { 
    		this.valueType = CtxAttributeValueType.valueOf(in.readString());
    	} catch (IllegalArgumentException x) {
    		this.valueType = null;
    	} 
    	 
		this.valueMetric = in.readString();
    } 
     
	/** 
	 *  
	 * @param attribute