Class EffectObservation

java.lang.Object
privbot.effects.EffectObservation

public final class EffectObservation extends Object
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.
  • Method Details

    • getState

      public EffectObservation.State getState()
    • getSource

      public EffectObservation.Source 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.