ComponentIdStatus enum

The status of the handler associated with a ComponentId.

Inheritance

Constructors

ComponentIdStatus()
const

Values

ok → const ComponentIdStatus

No problems.

This status shouldn't ever occur in an error.

fromDifferentSession → const ComponentIdStatus

The ComponentId was created in a different process, so no handler could be found.

This also means that the state associated with the handler is now lost.

expired → const ComponentIdStatus

The handler for this ComponentId has expired.

noHandlerFound → const ComponentIdStatus

No handler for this ComponentId was found.

This can happen when two instances of nyxx_commands are running at the same time, so the event will probably be handled by the other instance.

wrongUser → const ComponentIdStatus

The user who interacted with the component was not allowed to do so.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Constants

values → const List<ComponentIdStatus>
A constant List of the values in this enum, in order of their declaration.