ContextSdkPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • ContextSdkPlatform
Implementers

Constructors

ContextSdkPlatform()
Constructs a ContextSdkPlatform.

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

calibrate(String flowName, int? maxDelay, Map<String, dynamic>? customSignals, ValueSetter<int> onContextReady) → dynamic
contextAppendOutcomeMetadata(int contextId, Map<String, dynamic> metadata) → Future<void>
contextLog(int contextId, int outcome, bool alwaysLog) → Future<void>
contextShouldUpsell(int contextId) → Future<bool>
contextValidate(int contextId) → Future<String>
fetchContext(String flowName, int duration, Map<String, dynamic>? customSignals) → Future<int>
getSDKVersion() → Future<String>
instantContext(String flowName, int duration, Map<String, dynamic>? customSignals) → Future<int>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
optimize(String flowName, int? maxDelay, Map<String, dynamic>? customSignals, ValueSetter<int> onGoodMoment) → dynamic
recentContext(String flowName) → Future<int?>
releaseContext(int contextId) → Future<void>
setGlobalCustomSignals(Map<String, dynamic> customSignals) → Future<void>
setup(String licenseKey) → Future<bool>
toString() → String
A string representation of this object.
inherited
trackEvent(String eventType, String eventName, Map<String, dynamic> customSignals) → Future<void>

Operators

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

Static Properties

instance ↔ ContextSdkPlatform
The default instance of ContextSdkPlatform to use.
getter/setter pair