Package com.tencent.mmkv
Class ParcelableMMKV
- java.lang.Object
-
- com.tencent.mmkv.ParcelableMMKV
-
- All Implemented Interfaces:
android.os.Parcelable
public final class ParcelableMMKV extends java.lang.Object implements android.os.ParcelableA helper class for MMKV based on Anonymous Shared Memory.MMKV.mmkvWithAshmemID(android.content.Context, java.lang.String, int, int, java.lang.String)
-
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<ParcelableMMKV>CREATOR
-
Constructor Summary
Constructors Constructor Description ParcelableMMKV(MMKV mmkv)
-
Method Summary
Modifier and Type Method Description intdescribeContents()MMKVtoMMKV()voidwriteToParcel(android.os.Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<ParcelableMMKV> CREATOR
-
-
Constructor Detail
-
ParcelableMMKV
public ParcelableMMKV(MMKV mmkv)
-
-
Method Detail
-
toMMKV
public MMKV toMMKV()
-
describeContents
public int describeContents()
- Specified by:
describeContentsin interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)- Specified by:
writeToParcelin interfaceandroid.os.Parcelable
-
-