AdvancedPublisherOptions class

Options for configuring an advanced publisher.

All fields are optional. Caching is enabled by supplying a cache object; see AdvancedPublisherCacheOptions for the bound and for what 0 does and does not mean.

Constructors

AdvancedPublisherOptions({AdvancedPublisherCacheOptions? cache, bool enableMatchingListener = false, bool publisherDetection = false, bool sampleMissDetection = false, HeartbeatMode heartbeatMode = HeartbeatMode.none, int heartbeatPeriodMs = 0})
Creates advanced publisher options.
const

Properties

cache AdvancedPublisherCacheOptions?
The publisher-side sample cache, or null for no cache.
final
enableMatchingListener bool
Whether to declare a background matching listener, which makes AdvancedPublisher.matchingStatus non-null.
final
hashCode int
The hash code for this object.
no setterinherited
heartbeatMode HeartbeatMode
The heartbeat mode for sample miss detection.
final
heartbeatPeriodMs int
The heartbeat period in milliseconds (used with periodic/sporadic modes).
final
publisherDetection bool
Whether to enable publisher detection.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleMissDetection bool
Whether to enable sample miss detection.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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