Example usage for android.os Parcel readString

List of usage examples for android.os Parcel readString

Introduction

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

Prototype

public final String readString() 

Source Link

Document

Read a string value from the parcel at the current dataPosition().

Usage

From source file:ch.gianulli.trelloapi.Board.java

private Board(Parcel in) {
    this(in.readString(), in.readString(), in.readInt());
}

From source file:com.playhaven.android.data.DataCollectionField.java

/**
 * Deserialize this object from a Parcel
 *
 * @param in parcel to read from//from   w  ww. j  a  v a 2  s .  com
 */
protected void readFromParcel(Parcel in) {
    mType = in.readString();
    mName = in.readString();
    mCssClass = in.readString();
    mValue = in.readString();
}

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

private NestConfig(Parcel in) {
    mClientID = in.readString();
    mStateValue = in.readString();
    mClientSecret = in.readString();
    mRedirectURL = in.readString();
}

From source file:com.tdispatch.passenger.model.LocationData.java

private LocationData(Parcel in) {
    setAddress(in.readString());
    setPostCode(in.readString());
    setLatitude(in.readDouble());
    setLongitude(in.readDouble());
}

From source file:com.vk.sdk.api.model.VKApiPlace.java

/**
 * Creates a Place instance from Parcel.
 *///from  www . ja  v  a  2s .  c o m
public VKApiPlace(Parcel in) {
    this.id = in.readInt();
    this.title = in.readString();
    this.latitude = in.readDouble();
    this.longitude = in.readDouble();
    this.created = in.readLong();
    this.checkins = in.readInt();
    this.updated = in.readLong();
    this.country_id = in.readInt();
    this.city_id = in.readInt();
    this.address = in.readString();
}

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

protected SmokeCOAlarm(Parcel in) {
    super(in);//from   w  w w . j  a  va2  s  .  com
    mBatteryHealth = in.readString();
    mCoAlarmState = in.readString();
    mSmokeAlarmState = in.readString();
    mIsManualTestActive = Utils.readBoolean(in);
    mLastManualTestTime = in.readString();
    mUiColorState = in.readString();
}

From source file:com.eTilbudsavis.etasdk.model.Country.java

private Country(Parcel in) {
    this.mErn = in.readString();
    this.mUnsubscribeUrl = in.readString();
}

From source file:com.wellsandwhistles.android.redditsp.reddit.things.RedditSubreddit.java

public RedditSubreddit(final Parcel parcel) {
    header_img = parcel.readString();
    header_title = parcel.readString();//from ww w. j a  v a 2  s  .c  o m
    description = parcel.readString();
    description_html = parcel.readString();
    public_description = parcel.readString();
    id = parcel.readString();
    name = parcel.readString();
    title = parcel.readString();
    display_name = parcel.readString();
    url = parcel.readString();
    created = parcel.readLong();
    created_utc = parcel.readLong();

    accounts_active = parcel.readInt();
    subscribers = parcel.readInt();

    if (accounts_active < 0)
        accounts_active = null;
    if (subscribers < 0)
        subscribers = null;

    over18 = parcel.readInt() == 1;
}

From source file:id.satusatudua.sigap.data.model.ImportantContact.java

protected ImportantContact(Parcel in) {
    contactId = in.readString();
    name = in.readString();//from  w  ww. j  a  va2s. co  m
    phoneNumber = in.readString();
    userId = in.readString();
    address = in.readString();
    createdAt = new Date(in.readLong());
    avgRate = in.readDouble();
    totalRate = in.readDouble();
    totalUserRate = in.readLong();
    myRate = in.readInt();
    bookmarked = in.readByte() != 0;
    user = in.readParcelable(User.class.getClassLoader());
}

From source file:com.v2soft.dnremote.dao.Server.java

public Server(Parcel in) {
    this(UUID.fromString(in.readString()), in.readString(), in.readString(), in.readInt(), in.readByte() == 1,
            readIPAddr(in));
}