ContactShieldEngine class

Constructors

ContactShieldEngine()
factory

Properties

contactShieldCallback ContactShieldCallback
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clearData() Future<void>
disableLogger() Future<void>
enableLogger() Future<void>
getContactDetail(String token) Future<List<ContactDetail>>
getContactShieldVersion() Future<int>
getContactSketch(String token) Future<ContactSketch>
getContactWindow([String token = TOKEN_A]) Future<List<ContactWindow>>
getDailySketch(DailySketchConfiguration config) Future<List<DailySketch>>
getDeviceCalibrationConfidence() Future<int>
getPeriodicKey() Future<List<PeriodicKey>>
getSharedKeysDataMapping() Future<SharedKeysDataMapping>
getStatus() Future<Set<ContactShieldStatus>>
isContactShieldRunning() Future<bool>
isSupportScanningWithoutLocation() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
putSharedKeyFiles(List<String> filePaths, DiagnosisConfiguration config, String token) Future<void>
putSharedKeyFilesCb(List<String> filePaths, DiagnosisConfiguration config, String token) Future<void>
putSharedKeyFilesCbWithKeys(List<String> filePaths, List<String> publicKeys, DiagnosisConfiguration config, String token) Future<void>
putSharedKeyFilesCbWithProvider(List<String> filePaths) Future<void>
setSharedKeysDataMapping(SharedKeysDataMapping sharedKeysDataMapping) Future<void>
startContactShield([int incubationPeriod = DEFAULT_INCUBATION_PERIOD]) Future<void>
startContactShieldCb([int incubationPeriod = DEFAULT_INCUBATION_PERIOD]) Future<void>
startContactShieldNonPersistent([int incubationPeriod = DEFAULT_INCUBATION_PERIOD]) Future<void>
stopContactShield() Future<void>
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

DEFAULT_INCUBATION_PERIOD → const int
14
TOKEN_A → const String
'TOKEN_WINDOW_MODE'