Example usage for android.os Parcel writeMap

List of usage examples for android.os Parcel writeMap

Introduction

In this page you can find the example usage for android.os Parcel writeMap.

Prototype

public final void writeMap(Map val) 

Source Link

Document

Please use #writeBundle instead.

Usage

From source file:no.ntnu.osnap.social.models.Message.java

@Override
public void writeToParcel(Parcel out, int flag) {
    super.writeToParcel(out, flag);
    out.writeMap(mTransl);
}

From source file:it.polimi.spf.shared.model.SPFQuery.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeList(mTags);//from ww w. j  a v  a  2  s . c  om
    dest.writeMap(mProfileFields);
    dest.writeList(mApps);
}

From source file:com.scvngr.levelup.core.net.AbstractRequest.java

@Override
public void writeToParcel(final Parcel dest, final int flags) {
    dest.writeString(mMethod.name());/*  w w  w. java 2 s  . c o  m*/
    dest.writeString(mUrlString);
    dest.writeMap(mRequestHeaders);
    dest.writeMap(mQueryParams);
}

From source file:com.citrus.sdk.payment.PaymentBill.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeParcelable(this.amount, 0);
    dest.writeString(this.requestSignature);
    dest.writeString(this.merchantTransactionId);
    dest.writeString(this.merchantAccessKey);
    dest.writeString(this.returnUrl);
    dest.writeString(this.notifyUrl);
    dest.writeMap(this.customParametersMap);
}

From source file:com.nestlabs.sdk.Structure.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(mStructureId);//from w  w w.  jav  a 2 s  . c o m
    dest.writeStringList(mThermostats);
    dest.writeStringList(mSmokeCoAlarms);
    dest.writeStringList(mCameras);
    dest.writeMap(mDevices);
    dest.writeString(mAway);
    dest.writeString(mName);
    dest.writeString(mCountryCode);
    dest.writeString(mPostalCode);
    dest.writeString(mPeakPeriodStartTime);
    dest.writeString(mPeakPeriodEndTime);
    dest.writeString(mTimeZone);
    dest.writeParcelable(mEta, flags);
    Utils.writeBoolean(dest, mRhrEnrollment);
    dest.writeMap(mWheres);
}

From source file:fr.free.nrw.commons.Media.java

/**
 * Creates a way to transfer information between two or more
 * activities./*from ww w  .  j  av  a  2s .  c o m*/
 * @param parcel Instance of Parcel
 * @param flags Parcel flag
 */
@Override
public void writeToParcel(Parcel parcel, int flags) {
    parcel.writeParcelable(localUri, flags);
    parcel.writeString(thumbUrl);
    parcel.writeString(imageUrl);
    parcel.writeString(filename);
    parcel.writeString(description);
    parcel.writeLong(dataLength);
    parcel.writeSerializable(dateCreated);
    parcel.writeSerializable(dateUploaded);
    parcel.writeString(creator);
    parcel.writeSerializable(tags);
    parcel.writeInt(width);
    parcel.writeInt(height);
    parcel.writeString(license);
    parcel.writeStringList(categories);
    parcel.writeMap(descriptions);
}

From source file:com.citrus.sdk.TransactionResponse.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeParcelable(this.balanceAmount, 0);
    dest.writeParcelable(this.transactionAmount, 0);
    dest.writeString(this.message);
    dest.writeString(this.responseCode);
    dest.writeInt(this.transactionStatus == null ? -1 : this.transactionStatus.ordinal());
    dest.writeParcelable(this.transactionDetails, 0);
    dest.writeParcelable(this.citrusUser, 0);
    dest.writeInt(this.paymentMode == null ? -1 : this.paymentMode.ordinal());
    dest.writeString(this.issuerCode);
    dest.writeString(this.impsMobileNumber);
    dest.writeString(this.impsMmid);
    dest.writeString(this.authIdCode);
    dest.writeString(this.signature);
    dest.writeString(this.maskedCardNumber);
    dest.writeByte(COD ? (byte) 1 : (byte) 0);
    dest.writeMap(this.customParamsMap);
    dest.writeString(this.jsonResponse);
}