Code example for Parcel

Methods: readIntreadLongreadString

0
        launchCount = count;
        usageTime = time;
    } 
     
    public PkgUsageStats(Parcel source) {
        packageName = source.readString();
        launchCount = source.readInt();
        usageTime = source.readLong();
    } 
     
    public PkgUsageStats(PkgUsageStats pStats) {
        packageName = pStats.packageName;
        launchCount = pStats.launchCount;
        usageTime = pStats.usageTime;
    } 
 
    public int describeContents() { 
        return 0; 
    } 
 
Connect your IDE to all the code out there  Get Codota for Java