Class EffectObservation
java.lang.Object
privbot.effects.EffectObservation
Immutable effect evidence at the instant observe() was called. ACTIVE/INACTIVE describe the
selected evidence, whose source must remain visible to callers; an estimate is not native proof.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Method Summary
Modifier and TypeMethodDescriptionlong-1 means no duration estimate is available.long-1 means no native remaining-time observation is available, even if a chat estimate exists.longTime of the evidence that produced this snapshot; -1 when there is no observation.getState()
-
Method Details
-
getState
-
getSource
-
getEstimatedRemainingMs
public long getEstimatedRemainingMs()-1 means no duration estimate is available. -
getNativeRemainingMs
public long getNativeRemainingMs()-1 means no native remaining-time observation is available, even if a chat estimate exists. -
getObservedAtMs
public long getObservedAtMs()Time of the evidence that produced this snapshot; -1 when there is no observation.
-