Code example for Parcel

Methods: readInt, readLong, readStringList

0
	 * Constructor 
	 *  
	 * @param source Parcelable source 
	 */ 
	public Capabilities(Parcel source) {
		this.imageSharing = source.readInt() != 0;
		this.videoSharing = source.readInt() != 0;
		this.imSession = source.readInt() != 0;
		this.fileTransfer = source.readInt() != 0;
		this.csVideo = source.readInt() != 0;
		this.presenceDiscovery = source.readInt() != 0;
		this.socialPresence = source.readInt() != 0;
		this.timestamp = source.readLong();
		source.readStringList(this.extensions);
    } 
 
	/** 
	 * Describe the kinds of special objects contained in this Parcelable's 
	 * marshalled representation 
	 *  
	 * @return Integer