MMKVPluginPlatformFFI class

A helper class to ease the implementation of MMKV platform plugin in FFI

Inheritance

Constructors

MMKVPluginPlatformFFI()

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 pairinherited

Methods

actualSizeFunc() → int Function(Pointer<Void>)
override
allKeysFunc() → int Function(Pointer<Void>, Pointer<Pointer<Pointer<Utf8>>>, Pointer<Pointer<Uint32>>, int)
override
backupAllFunc() → int Function(Pointer<Utf8> dstDir)
override
backupOneFunc() → int Function(Pointer<Utf8> mmapID, Pointer<Utf8> dstDir, Pointer<Utf8> rootPath)
override
checkContentChangedFunc() → void Function(Pointer<Void> p1)
override
checkExistFunc() → int Function(Pointer<Utf8> mmapID, Pointer<Utf8> rootPath)
override
checkReSetCryptKeyFunc() → void Function(Pointer<Void>, Pointer<Uint8>, int length, int aes256)
override
clearAllFunc() → void Function(Pointer<Void>, int)
override
clearMemoryCacheFunc() → void Function(Pointer<Void> p1)
override
containsKeyFunc() → int Function(Pointer<Void>, Pointer<Utf8>)
override
countFunc() → int Function(Pointer<Void>, int)
override
cryptKeyFunc() → Pointer<Uint8> Function(Pointer<Void>, Pointer<Uint64>)
override
decodeBoolFunc() → int Function(Pointer<Void>, Pointer<Utf8>, int)
override
decodeBytesFunc() → Pointer<Uint8> Function(Pointer<Void>, Pointer<Utf8>, Pointer<Uint64>)
override
decodeDoubleFunc() → double Function(Pointer<Void>, Pointer<Utf8>, double)
override
decodeInt32Func() → int Function(Pointer<Void>, Pointer<Utf8>, int)
override
decodeInt64Func() → int Function(Pointer<Void>, Pointer<Utf8>, int)
override
disableAutoExpireFunc() → bool Function(Pointer<Void>)
override
disableCompareBeforeSetFunc() → bool Function(Pointer<Void>)
override
enableAutoExpireFunc() → bool Function(Pointer<Void>, int)
override
enableCompareBeforeSetFunc() → bool Function(Pointer<Void>)
override
encodeBoolFunc() → int Function(Pointer<Void>, Pointer<Utf8>, int)
override
encodeBoolV2Func() → int Function(Pointer<Void>, Pointer<Utf8>, int, int)
override
encodeBytesFunc() → int Function(Pointer<Void>, Pointer<Utf8>, Pointer<Uint8>, int)
override
encodeBytesV2Func() → int Function(Pointer<Void>, Pointer<Utf8>, Pointer<Uint8>, int, int)
override
encodeDoubleFunc() → int Function(Pointer<Void>, Pointer<Utf8>, double)
override
encodeDoubleV2Func() → int Function(Pointer<Void>, Pointer<Utf8>, double, int)
override
encodeInt32Func() → int Function(Pointer<Void>, Pointer<Utf8>, int)
override
encodeInt32V2Func() → int Function(Pointer<Void>, Pointer<Utf8>, int, int)
override
encodeInt64Func() → int Function(Pointer<Void>, Pointer<Utf8>, int)
override
encodeInt64V2Func() → int Function(Pointer<Void>, Pointer<Utf8>, int, int)
override
freePtrFunc() → void Function(Pointer<NativeType>)
override
getApplicationDocumentsPath() → Future<String>
inherited
getDefaultMMKVFunc() → Pointer<Void> Function(int, Pointer<Utf8> cryptKey, int aes256, int expectedCapacity, int enableKeyExpire, int expiredInSeconds, int enableCompareBeforeSet, int recover, int itemSizeLimit)
override
getMMKVWithIDFunc() → Pointer<Void> Function(Pointer<Utf8> mmapID, int, Pointer<Utf8> cryptKey, Pointer<Utf8> rootDir, int expectedCapacity, int isNameSpace, int aes256, int enableKeyExpire, int expiredInSeconds, int enableCompareBeforeSet, int recover, int itemSizeLimit)
override
getNameSpaceFunc() → bool Function(Pointer<Utf8> rootPath)
override
getTemporaryPath() → Future<String>
inherited
groupPathFunc() → Pointer<Utf8> Function()
override
importFromFunc() → int Function(Pointer<Void> handle, Pointer<Void> srcHandle)
override
initialize(String rootDir, {String? groupDir, int logLevel = 1, Pointer<NativeFunction<LogCallbackWrap>>? logHandler}) → Future<String>
inherited
isFileValidFunc() → int Function(Pointer<Utf8> mmapID, Pointer<Utf8> rootPath)
override
isMultiProcessFunc() → bool Function(Pointer<Void>)
override
isReadOnlyFunc() → bool Function(Pointer<Void>)
override
memcpyFunc() → void Function(Pointer<Void>, Pointer<Void>, int)
override
mmapIDFunc() → Pointer<Utf8> Function(Pointer<Void>)
override
mmkvCloseFunc() → void Function(Pointer<Void> p1)
override
mmkvSyncFunc() → void Function(Pointer<Void>, int)
override
nativeFuncName(String name) → String
a chance to map native function name (to avoid potential conflict)
nativeLib() → DynamicLibrary
tells which dylib to lookup for function pointer
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pageSizeFunc() → int Function()
override
registerContentHandlerFunc() → ContentCallbackRegister
override
registerContentLoadedHandlerFunc() → ContentCallbackRegister
override
registerErrorHandlerFunc() → ErrorCallbackRegister
override
reKeyFunc() → int Function(Pointer<Void>, Pointer<Uint8>, int length, int aes256)
override
removeStorageFunc() → int Function(Pointer<Utf8> mmapID, Pointer<Utf8> rootPath)
override
removeValueForKeyFunc() → void Function(Pointer<Void>, Pointer<Utf8>)
override
removeValuesForKeysFunc() → void Function(Pointer<Void>, Pointer<Pointer<Utf8>>, Pointer<Uint32>, int)
override
restoreAllFunc() → int Function(Pointer<Utf8> dstDir)
override
restoreOneFunc() → int Function(Pointer<Utf8> mmapID, Pointer<Utf8> dstDir, Pointer<Utf8> rootPath)
override
toString() → String
A string representation of this object.
inherited
totalSizeFunc() → int Function(Pointer<Void>)
override
trimFunc() → void Function(Pointer<Void> p1)
override
valueSizeFunc() → int Function(Pointer<Void>, Pointer<Utf8>, int)
override
versionFunc() → Pointer<Utf8> Function()
override
writeValueToNBFunc() → int Function(Pointer<Void>, Pointer<Utf8>, Pointer<Void>, int)
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited