MMKVPluginPlatformFFI class abstract base

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

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
checkReSetCryptKeyFunc() → void Function(Pointer<Void>, Pointer<Uint8>, int)
override
clearAllFunc() → void Function(Pointer<Void>, int)
override
clearMemoryCacheFunc() → void Function(Pointer<Void>)
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
getDefaultMMKVFunc() Pointer<Void> Function(int, Pointer<Utf8> cryptKey)
override
getMMKVWithIDFunc() Pointer<Void> Function(Pointer<Utf8> mmapID, int, Pointer<Utf8> cryptKey, Pointer<Utf8> rootDir, int expectedCapacity)
override
initialize(String rootDir, {String? groupDir, int logLevel = 1}) Future<String>
inherited
memcpyFunc() → void Function(Pointer<Void>, Pointer<Void>, int)
override
mmapIDFunc() Pointer<Utf8> Function(Pointer<Void>)
override
mmkvCloseFunc() → void Function(Pointer<Void>)
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
reKeyFunc() int Function(Pointer<Void>, Pointer<Uint8>, int)
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> srcDir)
override
restoreOneFunc() int Function(Pointer<Utf8> mmapID, Pointer<Utf8> srcDir, Pointer<Utf8> rootPath)
override
toString() String
A string representation of this object.
inherited
totalSizeFunc() int Function(Pointer<Void>)
override
trimFunc() → void Function(Pointer<Void>)
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