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:ca.frozen.rpicameraviewer.classes.Camera.java

private void readFromParcel(Parcel in) {
    network = in.readString();
    name = in.readString();//from ww w.j  av  a  2  s .c o  m
    source = in.readParcelable(Source.class.getClassLoader());
}

From source file:ca.frozen.rpicameraviewer.classes.Settings.java

private void readFromParcel(Parcel in) {
    cameraName = in.readString();
    showAllCameras = in.readInt() != 0;//from w  w  w .j  a  va2s . c om
    rawTcpIpSource = in.readParcelable(Source.class.getClassLoader());
    rawHttpSource = in.readParcelable(Source.class.getClassLoader());
    rawMulticastSource = in.readParcelable(Source.class.getClassLoader());
}

From source file:com.tigerpenguin.places.model.Place.java

@SuppressWarnings("unchecked")
public Place(Parcel in) {
    placeId = in.readString();
    name = in.readString();//from   ww  w.  j a  v  a2 s . c o  m
    vicinity = in.readString();
    formattedAddress = in.readString();
    priceLevel = (PriceLevel) in.readSerializable();
    rating = in.readDouble();
    iconUrl = in.readString();
    types = in.readArrayList(PlaceType.class.getClassLoader());
    geometry = in.readParcelable(Geometry.class.getClassLoader());
    openingHours = in.readParcelable(OpeningHours.class.getClassLoader());
    photos = in.readArrayList(Photo.class.getClassLoader());
}

From source file:com.facebook.notifications.internal.content.TextContent.java

private TextContent(Parcel source) {
    text = source.readString();
    textColor = source.readInt();//from w ww .  j av a2s  .  co m

    typeface = source.readString();
    typefaceSize = source.readFloat();

    textAlignment = source.readParcelable(getClass().getClassLoader());
}

From source file:com.clover.sdk.v1.customer.Customer.java

Customer(Parcel in) throws JSONException {
    String json = in.readString();
    this.data = new JSONObject(json);
}

From source file:io.square1.oembed.Oembed.java

protected Oembed(Parcel in) {
    try {//from  www .  j  a va  2 s.c o  m
        mData = new JSONObject(in.readString());
        mMainUrl = mData.optString(JSON_MAIN_URL);
    } catch (Exception ex) {
        throw new IllegalArgumentException();
    }
}

From source file:com.getchute.android.photopickerplus.models.MediaDataModel.java

public MediaDataModel(Parcel in) {
    this();/*from  ww  w.  j a v  a2  s.c  o  m*/
    imageUrl = in.readString();
    videoUrl = in.readString();
    thumbnail = in.readString();
    fileType = in.readString();
}

From source file:com.linkedin.android.spyglass.sample.data.models.Person.java

public Person(Parcel in) {
    mFirstName = in.readString();
    mLastName = in.readString();
    mPictureURL = in.readString();
}

From source file:ru.rzn.myasoedov.vktest.dto.VKChat.java

public VKChat(Parcel in) {
    super(in);//from  w  w  w .j  a va2  s  .c o m
    this.preview = in.readString();
    this.photoUrl = in.readString();
    this.customPhotoUrl = in.readString();
    this.date = in.readLong();
}

From source file:com.wootric.androidsdk.objects.LocalizedTexts.java

private LocalizedTexts(Parcel in) {
    this.npsQuestion = in.readString();
    this.anchors = (HashMap<String, String>) in.readSerializable();
    this.followupQuestion = in.readString();
    this.followupPlaceholder = in.readString();
    this.finalThankYou = in.readString();
    this.send = in.readString();
    this.dismiss = in.readString();
    this.editScore = in.readString();
    this.socialShare = (HashMap<String, String>) in.readSerializable();
}