List of usage examples for android.os Parcel readByte
public final byte readByte()
From source file:com.danlvse.weebo.model.User.java
protected User(Parcel in) { this.id = in.readString(); this.idstr = in.readString(); this.screen_name = in.readString(); this.name = in.readString(); this.province = in.readInt(); this.city = in.readInt(); this.location = in.readString(); this.description = in.readString(); this.url = in.readString(); this.profile_image_url = in.readString(); this.profile_url = in.readString(); this.cover_image_phone = in.readString(); this.cover_image = in.readString(); this.domain = in.readString(); this.weihao = in.readString(); this.gender = in.readString(); this.followers_count = in.readInt(); this.friends_count = in.readInt(); this.statuses_count = in.readInt(); this.favourites_count = in.readInt(); this.created_at = in.readString(); this.following = in.readByte() != 0; this.allow_all_act_msg = in.readByte() != 0; this.geo_enabled = in.readByte() != 0; this.verified = in.readByte() != 0; this.verified_type = in.readInt(); this.remark = in.readString(); this.status = in.readParcelable(Feed.class.getClassLoader()); this.allow_all_comment = in.readByte() != 0; this.avatar_large = in.readString(); this.avatar_hd = in.readString(); this.verified_reason = in.readString(); this.follow_me = in.readByte() != 0; this.online_status = in.readInt(); this.bi_followers_count = in.readInt(); this.lang = in.readString(); this.star = in.readString(); this.mbtype = in.readString(); this.mbrank = in.readString(); this.block_word = in.readString(); }
From source file:org.y20k.transistor.core.Station.java
protected Station(Parcel in) { TITLE = in.readString();/*from w w w .j av a2 s . c om*/ StreamURI = in.readString(); mStationFetchResults = in.readBundle(Bundle.class.getClassLoader()); mPlayback = in.readByte() != 0; // true if byte != 0 _ID = in.readLong(); UNIQUE_ID = in.readString(); SUBTITLE = in.readString(); IMAGE_PATH = in.readString(); IMAGE_FILE_NAME = in.readString(); SMALL_IMAGE_FILE_NAME = in.readString(); CONTENT_TYPE = in.readString(); DESCRIPTION = in.readString(); RATING = in.readInt(); COMMA_SEPARATED_TAGS = in.readString(); CATEGORY = in.readString(); MarkdownDescription = in.readString(); SMALL_IMAGE_PATH = in.readString(); IS_FAVOURITE = in.readInt(); THUMP_UP_STATUS = in.readString(); LogHelper.v(LOG_TAG, "Station re-created from parcel. State of playback is: " + mPlayback); }
From source file:com.tdispatch.passenger.model.BookingData.java
private BookingData(Parcel in) { setLocalId(in.readLong());/*from w w w . j ava 2s .co m*/ setPk(in.readString()); setBookingKey(in.readString()); setDriverPk(in.readString()); setPickupDate(in.readString()); setPickupLocation((LocationData) in.readParcelable(LocationData.class.getClassLoader())); setDropoffLocation((LocationData) in.readParcelable(LocationData.class.getClassLoader())); setPassengerCount(in.readInt()); setLuggageCount(in.readInt()); setFlightNumber(in.readString()); setDistanceKm(in.readDouble()); setDistanceMiles(in.readDouble()); setCustomerName(in.readString()); setCustomerPhone(in.readString()); setExtraInfo(in.readString()); setPaymentStatus(in.readString()); setPaymentMethod(in.readInt()); setPrepaid((in.readByte() == 1)); setCost(in.readString()); setTotalCost(in.readString()); setCabOfficeName(in.readString()); setCabOfficeSlug(in.readString()); setType(in.readInt()); setReceiptUrl(in.readString()); setJson(in.readString()); int wpCount = in.readInt(); for (int i = 0; i < wpCount; i++) { LocationData ld = (LocationData) in.readParcelable(LocationData.class.getClassLoader()); mWayPoints.add(ld); } }
From source file:com.citrus.sdk.TransactionResponse.java
private TransactionResponse(Parcel in) { this.balanceAmount = in.readParcelable(Amount.class.getClassLoader()); this.transactionAmount = in.readParcelable(Amount.class.getClassLoader()); this.message = in.readString(); this.responseCode = in.readString(); int tmpTransactionStatus = in.readInt(); this.transactionStatus = tmpTransactionStatus == -1 ? null : TransactionStatus.values()[tmpTransactionStatus]; this.transactionDetails = in.readParcelable(TransactionDetails.class.getClassLoader()); this.citrusUser = in.readParcelable(CitrusUser.class.getClassLoader()); int tmpPaymentMode = in.readInt(); this.paymentMode = tmpPaymentMode == -1 ? null : PaymentMode.values()[tmpPaymentMode]; this.issuerCode = in.readString(); this.impsMobileNumber = in.readString(); this.impsMmid = in.readString(); this.authIdCode = in.readString(); this.signature = in.readString(); this.maskedCardNumber = in.readString(); this.COD = in.readByte() != 0; this.customParamsMap = in.readHashMap(String.class.getClassLoader()); this.jsonResponse = in.readString(); }
From source file:com.orbar.pxdemo.Model.FiveZeroZeroImageBean.java
public FiveZeroZeroImageBean(Parcel source) { Log.v(TAG, "ParcelData(Parcel source): time to put back parcel data"); id = source.readInt();//from ww w .j a v a 2 s. c o m userId = source.readInt(); name = source.readString(); description = source.readString(); camera = source.readString(); lens = source.readString(); focalLength = source.readString(); iso = source.readString(); shutterSpeed = source.readString(); aperture = source.readString(); timesViewed = source.readInt(); rating = source.readFloat(); status = source.readInt(); createdAt = source.readString(); category = source.readInt(); location = source.readString(); privacy = source.readByte() == 1; latitude = source.readString(); longitude = source.readString(); takenAt = source.readString(); hiResUploaded = source.readInt(); forSale = source.readByte() == 1; width = source.readInt(); height = source.readInt(); votesCount = source.readInt(); favoritesCount = source.readInt(); commentsCount = source.readInt(); nsfw = source.readByte() == 1; salesCount = source.readInt(); highestRating = source.readFloat(); highestRatingDate = source.readString(); licenseType = source.readInt(); imageUrl = source.readString(); storeDownload = source.readByte() == 1; storePrint = source.readByte() == 1; voted = source.readByte() == 1; favorited = source.readByte() == 1; purchased = source.readByte() == 1; userBean = (FiveZeroZeroUserBean) source.readParcelable(FiveZeroZeroUserBean.class.getClassLoader()); }
From source file:com.android.emailcommon.provider.Account.java
/** * Supports Parcelable/*from ww w .j a va 2s . c o m*/ */ public Account(Parcel in) { mBaseUri = Account.CONTENT_URI; mId = in.readLong(); mDisplayName = in.readString(); mEmailAddress = in.readString(); mSyncKey = in.readString(); mSyncLookback = in.readInt(); mSyncInterval = in.readInt(); mHostAuthKeyRecv = in.readLong(); mHostAuthKeySend = in.readLong(); mFlags = in.readInt(); /* mCompatibilityUuid = */ in.readString(); mSenderName = in.readString(); mRingtoneUri = in.readString(); mProtocolVersion = in.readString(); /* mNewMessageCount = */ in.readInt(); mSecuritySyncKey = in.readString(); mSignature = in.readString(); mPolicyKey = in.readLong(); mHostAuthRecv = null; if (in.readByte() == 1) { mHostAuthRecv = new HostAuth(in); } mHostAuthSend = null; if (in.readByte() == 1) { mHostAuthSend = new HostAuth(in); } }
From source file:com.mobilyzer.measurements.RRCTask.java
protected RRCTask(Parcel in) { super(in); stopFlag = in.readByte() != 0; duration = in.readLong(); }
From source file:com.vk.sdkweb.api.model.VKApiUserFull.java
public VKApiUserFull(Parcel in) { super(in);//from w w w . j a v a 2s . co m this.activity = in.readString(); this.status_audio = in.readParcelable(VKApiAudio.class.getClassLoader()); this.bdate = in.readString(); this.city = in.readParcelable(VKApiCity.class.getClassLoader()); this.country = in.readParcelable(VKApiCountry.class.getClassLoader()); this.last_seen = in.readLong(); this.universities = in.readParcelable(VKList.class.getClassLoader()); this.schools = in.readParcelable(VKList.class.getClassLoader()); this.smoking = in.readInt(); this.alcohol = in.readInt(); this.political = in.readInt(); this.life_main = in.readInt(); this.people_main = in.readInt(); this.inspired_by = in.readString(); this.langs = in.createStringArray(); this.religion = in.readString(); this.facebook = in.readString(); this.facebook_name = in.readString(); this.livejournal = in.readString(); this.skype = in.readString(); this.site = in.readString(); this.twitter = in.readString(); this.instagram = in.readString(); this.mobile_phone = in.readString(); this.home_phone = in.readString(); this.screen_name = in.readString(); this.activities = in.readString(); this.interests = in.readString(); this.movies = in.readString(); this.tv = in.readString(); this.books = in.readString(); this.games = in.readString(); this.about = in.readString(); this.quotes = in.readString(); this.can_post = in.readByte() != 0; this.can_see_all_posts = in.readByte() != 0; this.can_write_private_message = in.readByte() != 0; this.wall_comments = in.readByte() != 0; this.is_banned = in.readByte() != 0; this.is_deleted = in.readByte() != 0; this.wall_default_owner = in.readByte() != 0; this.verified = in.readByte() != 0; this.sex = in.readInt(); this.counters = in.readParcelable(Counters.class.getClassLoader()); this.relation = in.readInt(); this.relatives = in.readParcelable(VKList.class.getClassLoader()); this.blacklisted_by_me = in.readByte() != 0; }
From source file:com.vk.sdk.api.model.VKApiUserFull.java
public VKApiUserFull(Parcel in) { super(in);//from www . java 2s. c o m this.activity = in.readString(); this.status_audio = in.readParcelable(VKApiAudio.class.getClassLoader()); this.bdate = in.readString(); this.city = in.readParcelable(VKApiCity.class.getClassLoader()); this.country = in.readParcelable(VKApiCountry.class.getClassLoader()); this.last_seen = in.readLong(); this.universities = in.readParcelable(VKList.class.getClassLoader()); this.schools = in.readParcelable(VKList.class.getClassLoader()); this.smoking = in.readInt(); this.alcohol = in.readInt(); this.political = in.readInt(); this.life_main = in.readInt(); this.people_main = in.readInt(); this.inspired_by = in.readString(); this.langs = in.createStringArray(); this.religion = in.readString(); this.facebook = in.readString(); this.facebook_name = in.readString(); this.livejournal = in.readString(); this.skype = in.readString(); this.site = in.readString(); this.twitter = in.readString(); this.instagram = in.readString(); this.mobile_phone = in.readString(); this.home_phone = in.readString(); this.screen_name = in.readString(); this.activities = in.readString(); this.interests = in.readString(); this.movies = in.readString(); this.tv = in.readString(); this.books = in.readString(); this.games = in.readString(); this.about = in.readString(); this.quotes = in.readString(); this.can_post = in.readByte() != 0; this.can_see_all_posts = in.readByte() != 0; this.can_write_private_message = in.readByte() != 0; this.wall_comments = in.readByte() != 0; this.is_banned = in.readByte() != 0; this.is_deleted = in.readByte() != 0; this.wall_default_owner = in.readByte() != 0; this.verified = in.readByte() != 0; this.sex = in.readInt(); this.counters = in.readParcelable(Counters.class.getClassLoader()); this.occupation = in.readParcelable(Occupation.class.getClassLoader()); this.relation = in.readInt(); this.relatives = in.readParcelable(VKList.class.getClassLoader()); this.blacklisted_by_me = in.readByte() != 0; }