MMKVPluginPlatform class
The interface class that all implementation of MMKV platform plugin must extend
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- theHandler ↔ MMKVHandler?
-
getter/setter pair
Methods
-
actualSizeFunc(
) → int Function(Pointer< Void> ) -
allKeysFunc(
) → int Function(Pointer< Void> , Pointer<Pointer< , Pointer<Pointer< >Utf8> >Pointer< , int)Uint32> > -
backupAllFunc(
) → int Function(Pointer< Utf8> dstDir) -
backupOneFunc(
) → int Function(Pointer< Utf8> mmapID, Pointer<Utf8> dstDir, Pointer<Utf8> rootPath) -
checkContentChangedFunc(
) → void Function(Pointer< Void> ) -
checkExistFunc(
) → int Function(Pointer< Utf8> mmapID, Pointer<Utf8> rootPath) -
checkReSetCryptKeyFunc(
) → void Function(Pointer< Void> , Pointer<Uint8> , int) -
clearAllFunc(
) → void Function(Pointer< Void> , int) -
clearMemoryCacheFunc(
) → void Function(Pointer< Void> ) -
containsKeyFunc(
) → int Function(Pointer< Void> , Pointer<Utf8> ) -
countFunc(
) → int Function(Pointer< Void> , int) -
cryptKeyFunc(
) → Pointer< Uint8> Function(Pointer<Void> , Pointer<Uint64> ) -
decodeBoolFunc(
) → int Function(Pointer< Void> , Pointer<Utf8> , int) -
decodeBytesFunc(
) → Pointer< Uint8> Function(Pointer<Void> , Pointer<Utf8> , Pointer<Uint64> ) -
decodeDoubleFunc(
) → double Function(Pointer< Void> , Pointer<Utf8> , double) -
decodeInt32Func(
) → int Function(Pointer< Void> , Pointer<Utf8> , int) -
decodeInt64Func(
) → int Function(Pointer< Void> , Pointer<Utf8> , int) -
disableAutoExpireFunc(
) → bool Function(Pointer< Void> ) -
disableCompareBeforeSetFunc(
) → bool Function(Pointer< Void> ) -
enableAutoExpireFunc(
) → bool Function(Pointer< Void> , int) -
enableCompareBeforeSetFunc(
) → bool Function(Pointer< Void> ) -
encodeBoolFunc(
) → int Function(Pointer< Void> , Pointer<Utf8> , int) -
encodeBoolV2Func(
) → int Function(Pointer< Void> , Pointer<Utf8> , int, int) -
encodeBytesFunc(
) → int Function(Pointer< Void> , Pointer<Utf8> , Pointer<Uint8> , int) -
encodeBytesV2Func(
) → int Function(Pointer< Void> , Pointer<Utf8> , Pointer<Uint8> , int, int) -
encodeDoubleFunc(
) → int Function(Pointer< Void> , Pointer<Utf8> , double) -
encodeDoubleV2Func(
) → int Function(Pointer< Void> , Pointer<Utf8> , double, int) -
encodeInt32Func(
) → int Function(Pointer< Void> , Pointer<Utf8> , int) -
encodeInt32V2Func(
) → int Function(Pointer< Void> , Pointer<Utf8> , int, int) -
encodeInt64Func(
) → int Function(Pointer< Void> , Pointer<Utf8> , int) -
encodeInt64V2Func(
) → int Function(Pointer< Void> , Pointer<Utf8> , int, int) -
freePtrFunc(
) → void Function(Pointer< NativeType> ) -
getApplicationDocumentsPath(
) → Future< String> -
getDefaultMMKVFunc(
) → Pointer< Void> Function(int, Pointer<Utf8> cryptKey) -
getMMKVWithIDFunc(
) → Pointer< Void> Function(Pointer<Utf8> mmapID, int, Pointer<Utf8> cryptKey, Pointer<Utf8> rootDir, int expectedCapacity) -
getMMKVWithIDFunc2(
) → Pointer< Void> Function(Pointer<Utf8> mmapID, int, Pointer<Utf8> cryptKey, Pointer<Utf8> rootDir, int expectedCapacity, int isNameSpace) -
getNameSpaceFunc(
) → bool Function(Pointer< Utf8> rootPath) -
getTemporaryPath(
) → Future< String> -
groupPathFunc(
) → Pointer< Utf8> Function() -
importFromFunc(
) → int Function(Pointer< Void> handle, Pointer<Void> srcHandle) -
initialize(
String rootDir, {String? groupDir, int logLevel = 1, Pointer< NativeFunction< ? logHandler}) → Future<LogCallbackWrap> >String> -
isFileValidFunc(
) → int Function(Pointer< Utf8> mmapID, Pointer<Utf8> rootPath) -
isMultiProcessFunc(
) → bool Function(Pointer< Void> ) -
isReadOnlyFunc(
) → bool Function(Pointer< Void> ) -
memcpyFunc(
) → void Function(Pointer< Void> , Pointer<Void> , int) -
mmapIDFunc(
) → Pointer< Utf8> Function(Pointer<Void> ) -
mmkvCloseFunc(
) → void Function(Pointer< Void> ) -
mmkvSyncFunc(
) → void Function(Pointer< Void> , int) -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pageSizeFunc(
) → int Function() -
registerContentHandlerFunc(
) → ContentCallbackRegister -
registerErrorHandlerFunc(
) → ErrorCallbackRegister -
reKeyFunc(
) → int Function(Pointer< Void> , Pointer<Uint8> , int) -
removeStorageFunc(
) → int Function(Pointer< Utf8> mmapID, Pointer<Utf8> rootPath) -
removeValueForKeyFunc(
) → void Function(Pointer< Void> , Pointer<Utf8> ) -
removeValuesForKeysFunc(
) → void Function(Pointer< Void> , Pointer<Pointer< , Pointer<Utf8> >Uint32> , int) -
restoreAllFunc(
) → int Function(Pointer< Utf8> srcDir) -
restoreOneFunc(
) → int Function(Pointer< Utf8> mmapID, Pointer<Utf8> srcDir, Pointer<Utf8> rootPath) -
toString(
) → String -
A string representation of this object.
inherited
-
totalSizeFunc(
) → int Function(Pointer< Void> ) -
trimFunc(
) → void Function(Pointer< Void> ) -
valueSizeFunc(
) → int Function(Pointer< Void> , Pointer<Utf8> , int) -
versionFunc(
) → Pointer< Utf8> Function() -
writeValueToNBFunc(
) → int Function(Pointer< Void> , Pointer<Utf8> , Pointer<Void> , int)
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ MMKVPluginPlatform?
-
getter/setter pair