enum

QBittorrent::Model::TrackerStatus

Inherits Enum < Comparable < Value < Object

Tracker status int (torrents/trackers element status).

Constants

Disabled = 0

Disabled — pseudo-entry for DHT/PeX/LSD rows.

NotContacted = 1

Tracker has not been contacted yet.

Working = 2

Tracker is working.

Updating = 3

Tracker is updating.

NotWorking = 4

Tracker is not working / returned an error.

Constructors

new(pull : JSON::PullParser) : self

Strict decode: raises on an integer with no matching member.

Source

Instance methods

disabled?

Returns true if this enum value equals Disabled

Source
not_contacted?

Returns true if this enum value equals NotContacted

Source
not_working?

Returns true if this enum value equals NotWorking

Source
to_json(json : JSON::Builder) : Nil

Serializes to the documented integer value.

Source
updating?

Returns true if this enum value equals Updating

Source
working?

Returns true if this enum value equals Working

Source