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:com.facebook.Profile.java

private Profile(Parcel source) {
    id = source.readString();
    firstName = source.readString();//from  w  ww  .  j  av a  2 s  .com
    middleName = source.readString();
    lastName = source.readString();
    name = source.readString();
    String linkUriString = source.readString();
    linkUri = linkUriString == null ? null : Uri.parse(linkUriString);
}

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

/**
 * Creates an Audio instance from Parcel.
 *///from   w  w w.j ava 2 s.c  om
public VKApiAudio(Parcel in) {
    this.id = in.readInt();
    this.owner_id = in.readInt();
    this.artist = in.readString();
    this.title = in.readString();
    this.duration = in.readInt();
    this.url = in.readString();
    this.lyrics_id = in.readInt();
    this.album_id = in.readInt();
    this.genre = in.readInt();
    this.access_key = in.readString();
}

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

private void readFromParcel(Parcel in) {
    connectionType = intToConType(in.readInt());
    address = in.readString();
    port = in.readInt();//from www . ja  v  a 2 s .c om
    width = in.readInt();
    height = in.readInt();
    fps = in.readInt();
    bps = in.readInt();
}

From source file:com.cas.model.Content.java

private Content(Parcel in) {
    this.type = in.readString();
    this.filename = in.readString();
    this.filepath = in.readString();
    this.filesize = in.readInt();
    this.fileurl = in.readString();
    this.content = in.readString();
    this.timecreated = in.readLong();
    this.timemodified = in.readLong();
    this.sortorder = in.readInt();
    this.userid = in.readInt();
    this.author = in.readString();
    this.license = in.readString();
    this.transition = in.readString();
    this.mode = in.readString();
}

From source file:br.ufrj.ppgi.jemf.mobile.bean.TextMessage.java

/**
 * TextMessage Parcelable Constructor./*w  w w.  ja va  2 s  .  com*/
 * Parcelable to get passed among activities through Intent (similar to Serialization).
 * Attention to class members order an this use FIFO method.
 */
private TextMessage(Parcel in) {
    setId(in.readInt());
    setCreationDateString(in.readString());
    setLastModificationDateString(in.readString());
    setPriorityString(in.readString());
    setSubject(in.readString());
    setContent(in.readString());
}

From source file:com.guavabot.alarmpreference.Alarm.java

private Alarm(Parcel in) {
    mAlarmOn = in.readByte() != 0;/*  w  w w  .  j  av  a  2  s  .  co  m*/
    String time = in.readString();
    mTime = TIME_FMT.parseLocalTime(time);
    mWeeklyAlarms = in.readInt();
    mId = in.readLong();
}

From source file:br.ufrj.ppgi.jemf.mobile.bean.Emergency.java

/**
 * Emergency Parcelable Constructor./*from  ww w. ja v a 2 s. c  o  m*/
 * Parcelable to get passed among activities through Intent (similar to Serialization).
 * Attention to class members order an this use FIFO method.
 */
private Emergency(Parcel in) {
    setId(in.readInt());
    setName(in.readString());
    setActivatedInt(in.readInt());
    setLevelString(in.readString());
    setStartDateString(in.readString());
    setEndDateString(in.readString());
    setTypeString(in.readString());
}

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

/**
 * Creates a School instance from Parcel.
 *///w  ww  .j a v a 2 s.c o m
public VKApiSchool(Parcel in) {
    this.id = in.readInt();
    this.country_id = in.readInt();
    this.city_id = in.readInt();
    this.name = in.readString();
    this.year_from = in.readInt();
    this.year_to = in.readInt();
    this.year_graduated = in.readInt();
    this.clazz = in.readString();
    this.speciality = in.readString();
}

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

public MediaResponseModel(Parcel in) {
    this();/*from www . j a va 2s . c om*/
    in.readTypedList(assetList, AssetModel.CREATOR);
    clientId = in.readString();
    createdAt = in.readString();
    storeId = in.readString();
    updatedAt = in.readString();
    parcel = in.readParcelable(ParcelModel.class.getClassLoader());
    profile = in.readParcelable(ProfileModel.class.getClassLoader());
}

From source file:br.ufrj.ppgi.jemf.mobile.bean.Mission.java

/**
 * Mission Parcelable Constructor.// w w  w  .  ja v  a2s.c  om
 * Parcelable to get passed among activities through Intent (similar to Serialization).
 * Attention to class members order an this use FIFO method.
 */
private Mission(Parcel in) {
    setId(in.readInt());
    setTitle(in.readString());
    setDescription(in.readString());
    setStatusString(in.readString());
    setStartDateString(in.readString());
    setEndDateString(in.readString());
    setPriorityString(in.readString());
}