-
- All Implemented Interfaces:
-
android.content.ComponentCallbacks,android.content.ComponentCallbacks2
public class MMKVContentProvider extends ContentProvider
A helper class for MMKV based on Anonymous Shared Memory. mmkvWithAshmemID
-
-
Method Summary
Modifier and Type Method Description booleanonCreate()Bundlecall(@NonNull() String method, @Nullable() String mmapID, @Nullable() Bundle extras)StringgetType(@NonNull() Uri uri)Cursorquery(@NonNull() Uri uri, @Nullable() Array<String> projection, @Nullable() String selection, @Nullable() Array<String> selectionArgs, @Nullable() String sortOrder)intupdate(@NonNull() Uri uri, @Nullable() ContentValues values, @Nullable() String selection, @Nullable() Array<String> selectionArgs)intdelete(@NonNull() Uri uri, @Nullable() String selection, @Nullable() Array<String> selectionArgs)Uriinsert(@NonNull() Uri uri, @Nullable() ContentValues values)-
Methods inherited from class android.content.ContentProvider
applyBatch, attachInfo, bulkInsert, call, canonicalize, clearCallingIdentity, delete, dump, getCallingAttributionSource, getCallingAttributionTag, getCallingPackage, getCallingPackageUnchecked, getContext, getPathPermissions, getReadPermission, getStreamTypes, getType, getTypeAnonymous, getWritePermission, insert, onCallingPackageChanged, onConfigurationChanged, onCreate, onLowMemory, onTrimMemory, openAssetFile, openFile, openPipeHelper, openTypedAssetFile, query, refresh, requireContext, restoreCallingIdentity, shutdown, uncanonicalize, update -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onCreate
boolean onCreate()
-
call
@Nullable() Bundle call(@NonNull() String method, @Nullable() String mmapID, @Nullable() Bundle extras)
-
query
@Nullable() Cursor query(@NonNull() Uri uri, @Nullable() Array<String> projection, @Nullable() String selection, @Nullable() Array<String> selectionArgs, @Nullable() String sortOrder)
-
update
int update(@NonNull() Uri uri, @Nullable() ContentValues values, @Nullable() String selection, @Nullable() Array<String> selectionArgs)
-
delete
int delete(@NonNull() Uri uri, @Nullable() String selection, @Nullable() Array<String> selectionArgs)
-
-
-
-