本文整理汇总了Java中android.os.Parcel.readByte方法的典型用法代码示例。如果您正苦于以下问题:Java Parcel.readByte方法的具体用法?Java Parcel.readByte怎么用?Java Parcel.readByte使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类android.os.Parcel
的用法示例。
在下文中一共展示了Parcel.readByte方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: Release
import android.os.Parcel; //导入方法依赖的package包/类
protected Release(Parcel in) {
this.id = in.readString();
this.tagName = in.readString();
this.targetCommitish = in.readString();
this.name = in.readString();
this.body = in.readString();
this.bodyHtml = in.readString();
this.tarballUrl = in.readString();
this.zipballUrl = in.readString();
this.draft = in.readByte() != 0;
this.preRelease = in.readByte() != 0;
long tmpCreatedAt = in.readLong();
this.createdAt = tmpCreatedAt == -1 ? null : new Date(tmpCreatedAt);
long tmpPublishedAt = in.readLong();
this.publishedAt = tmpPublishedAt == -1 ? null : new Date(tmpPublishedAt);
this.author = in.readParcelable(User.class.getClassLoader());
this.assets = in.createTypedArrayList(ReleaseAsset.CREATOR);
}
示例2: GitCommitModel
import android.os.Parcel; //导入方法依赖的package包/类
protected GitCommitModel(Parcel in) {
this.sha = in.readString();
this.url = in.readString();
this.message = in.readString();
this.author = in.readParcelable(User.class.getClassLoader());
this.committer = in.readParcelable(User.class.getClassLoader());
this.tree = in.readParcelable(User.class.getClassLoader());
this.distincted = in.readByte() != 0;
this.parents = new RealmList<>();
ArrayList<GitCommitModel> list = in.createTypedArrayList(GitCommitModel.CREATOR);
if (list != null && list.size() > 0) {
parents.addAll(list);
}
this.commentCount = in.readInt();
}
示例3: MapLoadEvent
import android.os.Parcel; //导入方法依赖的package包/类
private MapLoadEvent(Parcel in) {
event = in.readString();
created = in.readString();
userId = in.readString();
model = in.readString();
operatingSystem = in.readString();
resolution = in.readByte() == 0x00 ? null : in.readFloat();
accessibilityFontScale = in.readByte() == 0x00 ? null : in.readFloat();
orientation = in.readString();
batteryLevel = in.readByte() == 0x00 ? null : in.readInt();
byte pluggedInVal = in.readByte();
pluggedIn = pluggedInVal == 0x02 ? null : pluggedInVal != 0x00;
carrier = in.readString();
cellularNetworkType = in.readString();
byte wifiVal = in.readByte();
wifi = wifiVal == 0x02 ? null : wifiVal != 0x00;
}
示例4: PhotoAlbum
import android.os.Parcel; //导入方法依赖的package包/类
protected PhotoAlbum(Parcel in) {
super(in);
id = in.readInt();
ownerId = in.readInt();
size = in.readInt();
title = in.readString();
description = in.readString();
canUpload = in.readByte() != 0;
updatedTime = in.readLong();
createdTime = in.readLong();
sizes = in.readParcelable(PhotoSizes.class.getClassLoader());
uploadByAdminsOnly = in.readByte() != 0;
commentsDisabled = in.readByte() != 0;
privacyView = in.readParcelable(SimplePrivacy.class.getClassLoader());
privacyComment = in.readParcelable(SimplePrivacy.class.getClassLoader());
}
示例5: createFromParcel
import android.os.Parcel; //导入方法依赖的package包/类
public MeshModelMessageOpcode createFromParcel(Parcel in) {
MeshModelMessageOpcode msgOp = new MeshModelMessageOpcode();
msgOp.mOp0 = in.readByte();
msgOp.mOp1 = in.readByte();
msgOp.mOp2 = in.readByte();
return msgOp;
}
示例6: Configuration
import android.os.Parcel; //导入方法依赖的package包/类
protected Configuration(Parcel in) {
this.endpoints = in.createTypedArrayList(Endpoint.CREATOR);
this.isWifiCollectionDisabled = in.readByte() != 0;
this.isDeviceModelCollectionDisabled = in.readByte() != 0;
this.isDeviceManufacturerCollectionDisabled = in.readByte() != 0;
this.isOperatingSystemCollectionDisbaled = in.readByte() != 0;
this.isChargingInfoCollectionDisabled = in.readByte() != 0;
this.isCarrierNameCollectionDisabled = in.readByte() != 0;
this.isConnectionTypeCollectionDisabled = in.readByte() != 0;
this.isLocationMethodCollectionDisabled = in.readByte() != 0;
this.isLocationContextCollectionDisabled = in.readByte() != 0;
}
示例7: AtPoint
import android.os.Parcel; //导入方法依赖的package包/类
protected AtPoint(Parcel in) {
id_point = in.readInt();
pos = in.readByte() == 0x00 ? null : in.readInt();
name = in.readString();
title = in.readString();
description = in.readString();
image = in.readString();
lat = in.readDouble();
lon = in.readDouble();
status = in.readString();
time_reached = in.readString();
}
示例8: BeerProductItem
import android.os.Parcel; //导入方法依赖的package包/类
protected BeerProductItem( Parcel in ){
super( in );
this.id = in.readString();
this.alcohol = in.readString();
this.image = in.readString();
this.name = in.readString();
this.price = in.readInt();
this.volume = in.readString();
this.amount = in.readInt();
this.isAdded = in.readByte() != 0;
}
示例9: readSparseBooleanArrayInternal
import android.os.Parcel; //导入方法依赖的package包/类
private void readSparseBooleanArrayInternal(
SparseArrayCompat<Boolean> outVal, Parcel in, int N) {
while (N > 0) {
int key = in.readInt();
boolean value = in.readByte() == 1;
if (LOG_ENABLED) {
Log.i(TAG, "Unmarshalling key=" + key + " value=" + value);
}
outVal.append(key, value);
N--;
}
}
示例10: LocalSearch
import android.os.Parcel; //导入方法依赖的package包/类
public LocalSearch(Parcel in) {
mName = in.readString();
mPredefined = (in.readByte() == 1);
mManualSearch = (in.readByte() == 1);
mAccountUuids.addAll(in.createStringArrayList());
mConditions = in.readParcelable(LocalSearch.class.getClassLoader());
mLeafSet = (mConditions == null) ? null : mConditions.getLeafSet();
}
示例11: ConnectedMessageSnapshot
import android.os.Parcel; //导入方法依赖的package包/类
ConnectedMessageSnapshot(Parcel in) {
super(in);
this.resuming = in.readByte() != 0;
this.totalBytes = in.readLong();
this.etag = in.readString();
this.fileName = in.readString();
}
示例12: WXContent
import android.os.Parcel; //导入方法依赖的package包/类
protected WXContent(Parcel in) {
super(in);
this.title = in.readString();
this.thumb = in.readParcelable(Bitmap.class.getClassLoader());
this.description = in.readString();
this.text = in.readString();
this.image = in.readParcelable(Bitmap.class.getClassLoader());
this.link = in.readString();
this.timeline = in.readByte() != 0;
}
示例13: ArticleListBean
import android.os.Parcel; //导入方法依赖的package包/类
protected ArticleListBean(Parcel in) {
this.articleTags = in.readString();
this.digest = in.readString();
this.docid = in.readString();
this.fromTopicSource = in.readByte() != 0;
this.gameName = in.readString();
this.id = in.readInt();
this.largeLogoUrl = in.readString();
this.lmodify = in.readString();
this.nickname = in.readString();
this.penName = in.readString();
this.photosetId = in.readString();
this.photosetImgNum = in.readInt();
this.priority = in.readInt();
this.ptime = in.readString();
this.readSeconds = in.readInt();
this.replyCount = in.readInt();
this.role = in.readString();
this.showType = in.readInt();
this.source = in.readString();
this.specialId = in.readString();
this.subtitle = in.readString();
this.title = in.readString();
this.topicName = in.readString();
this.url = in.readString();
this.userId = in.readInt();
this.userOrder = in.readByte() != 0;
this.imgsrc = in.createStringArrayList();
this.editor = new ArrayList<Editor>();
in.readList(this.editor, Editor.class.getClassLoader());
this.fidIconUrl = in.readString();
this.tid = in.readString();
this.topicId = in.readString();
this.docId = in.readString();
this.imgUrl = in.readString();
this.isLooked = in.readByte() != 0;
}
示例14: DialogSettings
import android.os.Parcel; //导入方法依赖的package包/类
protected DialogSettings(Parcel in) {
this.versionName = in.readString();
this.titleResId = in.readInt();
this.textPositiveResId = in.readInt();
this.textNeutralResId = in.readInt();
this.showNeutralButton = in.readByte() != 0;
this.showPositiveButton = in.readByte() != 0;
this.showTitle = in.readByte() != 0;
this.cancelable = in.readByte() != 0;
this.titleText = in.readString();
this.positiveText = in.readString();
this.neutralText = in.readString();
}
示例15: ProfileDataModel
import android.os.Parcel; //导入方法依赖的package包/类
protected ProfileDataModel(Parcel in) {
success = in.readByte() != 0;
name = in.readString();
rollno = in.readString();
photo = in.readString();
email = in.readString();
msg = in.readString();
}