ContactShieldEngine class

Constructors

ContactShieldEngine()
factory

Properties

contactShieldCallback ContactShieldCallback?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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 nonexistent 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>
putSharedKeyFilesCbProviderKeys(List<String> filePaths, List<String> publicKeys) 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
TOKEN_A → const String