List of usage examples for android.os Parcel readString
public final String readString()
From source file:it_minds.dk.eindberetningmobil_android.models.DrivingReport.java
protected DrivingReport(Parcel in) { this.Uuid = in.readString(); this.purpose = in.readString(); this.orgLocation = in.readString(); this.Rate = in.readString(); this.extraDescription = in.readString(); this.haveEditedDistance = in.readByte() != 0; this.startedAtHome = in.readByte() != 0; this.endedAtHome = in.readByte() != 0; this.fourKMRule = in.readByte() != 0; this.startTime = (DateTime) in.readSerializable(); this.endTime = (DateTime) in.readSerializable(); this.distanceInMeters = in.readDouble(); this.gpsPoints = in.createTypedArrayList(GPSCoordinateModel.CREATOR); this.homeToBorderDistance = in.readDouble(); }
From source file:nuclei.ui.share.PackageTargetManager.java
protected PackageTargetManager(Parcel in) { mFacebookId = in.readString(); mText = in.readString();/*from w w w . j a v a 2 s . c om*/ mUrl = in.readString(); mSms = in.readString(); mEmail = in.readString(); mSubject = in.readString(); mFile = (File) in.readSerializable(); mUri = in.readParcelable(getClass().getClassLoader()); }
From source file:com.dwg.weibo.entity.Status.java
protected Status(Parcel in) { this.created_at = in.readString(); this.id = in.readString(); this.mid = in.readString(); this.idstr = in.readString(); this.textLength = in.readInt(); this.text = in.readString(); this.isLongText = in.readByte() != 0; this.source_type = in.readInt(); this.source = in.readString(); this.favorited = in.readByte() != 0; this.truncated = in.readByte() != 0; this.in_reply_to_status_id = in.readString(); this.in_reply_to_user_id = in.readString(); this.in_reply_to_screen_name = in.readString(); this.thumbnail_pic = in.readString(); this.bmiddle_pic = in.readString(); this.original_pic = in.readString(); this.geo = in.readParcelable(Geo.class.getClassLoader()); this.user = in.readParcelable(User.class.getClassLoader()); this.retweeted_status = in.readParcelable(Status.class.getClassLoader()); this.reposts_count = in.readInt(); this.comments_count = in.readInt(); this.attitudes_count = in.readInt(); this.mlevel = in.readInt(); this.visible = in.readParcelable(Visible.class.getClassLoader()); this.source_allowclick = in.readInt(); this.pic_urls = new ArrayList<PicUrlsBean>(); in.readList(this.pic_urls, PicUrlsBean.class.getClassLoader()); this.thumbnail_pic_urls = in.createStringArrayList(); this.bmiddle_pic_urls = in.createStringArrayList(); this.origin_pic_urls = in.createStringArrayList(); this.singleImgSizeType = in.readString(); }
From source file:com.eTilbudsavis.etasdk.model.Store.java
private Store(Parcel in) { this.mErn = in.readString(); this.mStreet = in.readString(); this.mCity = in.readString(); this.mZipcode = in.readString(); this.mCountry = in.readParcelable(Country.class.getClassLoader()); this.mLatitude = in.readDouble(); this.mLongitude = in.readDouble(); this.mDealerUrl = in.readString(); this.mDealerId = in.readString(); this.mBranding = in.readParcelable(Branding.class.getClassLoader()); this.mContact = in.readString(); this.mDealer = in.readParcelable(Dealer.class.getClassLoader()); }
From source file:com.llc.bumpr.sdk.models.Driver.java
/** * A constructor for implementing the Driver as a Parcelable. * @param source The source Parcel// w w w . j a v a 2s .co m */ public Driver(Parcel source) { id = source.readInt(); fee = source.readDouble(); licenseId = source.readString(); insuranceId = source.readString(); balance = source.readDouble(); active = source.readByte() != 0; source.readList(requests, Request.class.getClassLoader()); }
From source file:com.vk.sdk.api.model.VKApiPost.java
/** * Creates a Post instance from Parcel.//w w w .java 2 s .co m */ public VKApiPost(Parcel in) { this.id = in.readInt(); this.to_id = in.readInt(); this.from_id = in.readInt(); this.date = in.readLong(); this.text = in.readString(); this.reply_owner_id = in.readInt(); this.reply_post_id = in.readInt(); this.friends_only = in.readByte() != 0; this.comments_count = in.readInt(); this.can_post_comment = in.readByte() != 0; this.likes_count = in.readInt(); this.user_likes = in.readByte() != 0; this.can_like = in.readByte() != 0; this.can_publish = in.readByte() != 0; this.reposts_count = in.readInt(); this.user_reposted = in.readByte() != 0; this.post_type = in.readString(); this.attachments = in.readParcelable(VKAttachments.class.getClassLoader()); this.geo = in.readParcelable(VKApiPlace.class.getClassLoader()); this.signer_id = in.readInt(); }
From source file:com.ibm.mobilefirstplatform.clientsdk.android.push.internal.MFPInternalPushMessage.java
private MFPInternalPushMessage(Parcel source) { id = source.readString(); alert = source.readString();//from www. j a v a 2s . c o m url = source.readString(); payload = source.readString(); mid = source.readString(); sound = source.readString(); bridge = Boolean.valueOf(source.readString()); priority = source.readString(); visibility = source.readString(); redact = source.readString(); category = source.readString(); key = source.readString(); gcmStyle = source.readString(); iconName = source.readString(); notificationId = source.readInt(); }
From source file:io.github.data4all.model.data.TransformationParamBean.java
/** * Constructor to create a TransformationParamBean from a parcel. * //from ww w . j a v a 2 s .com * @param in * The parcel to read from */ private TransformationParamBean(Parcel in) { height = in.readDouble(); verticalViewAngle = in.readDouble(); horizontalViewAngle = in.readDouble(); photoWidth = in.readInt(); photoHeight = in.readInt(); if (in.readInt() != 0) { location = new Location(in.readString()); location.setLatitude(in.readDouble()); location.setLongitude(in.readDouble()); } }
From source file:edu.vuum.mocca.storage.StoryData.java
/** * Used for writing a copy of this object to a Parcel, do not manually call. *//*from www . ja v a2s.co m*/ private StoryData(Parcel in) { KEY_ID = in.readLong(); loginId = in.readLong(); storyId = in.readLong(); title = in.readString(); body = in.readString(); audioLink = in.readString(); videoLink = in.readString(); imageName = in.readString(); imageLink = in.readString(); tags = in.readString(); creationTime = in.readLong(); storyTime = in.readLong(); latitude = in.readDouble(); longitude = in.readDouble(); }
From source file:com.vk.sdk.api.model.VKApiVideo.java
/** * Creates a Video instance from Parcel. *//*from ww w.j ava 2 s . c o m*/ public VKApiVideo(Parcel in) { this.id = in.readInt(); this.owner_id = in.readInt(); this.album_id = in.readInt(); this.title = in.readString(); this.description = in.readString(); this.duration = in.readInt(); this.link = in.readString(); this.date = in.readLong(); this.views = in.readInt(); this.player = in.readString(); this.photo_130 = in.readString(); this.photo_320 = in.readString(); this.photo_640 = in.readString(); this.photo = in.readParcelable(VKPhotoSizes.class.getClassLoader()); this.access_key = in.readString(); this.comments = in.readInt(); this.can_comment = in.readByte() != 0; this.can_repost = in.readByte() != 0; this.user_likes = in.readByte() != 0; this.repeat = in.readByte() != 0; this.likes = in.readInt(); this.privacy_view = in.readInt(); this.privacy_comment = in.readInt(); this.mp4_240 = in.readString(); this.mp4_360 = in.readString(); this.mp4_480 = in.readString(); this.mp4_720 = in.readString(); this.external = in.readString(); }