Enumeration PusherMode

The mode of a pusher config.

This is a class that extends the Enum class.

Enumeration Members

DO_NOTHING: PusherMode

Constructors

  • Parameters

    • value: number

    Returns PusherMode

Properties

enumName: string

The name of the constant, i.e. the member name.

enumValue: number

The value of the constant.

Methods

  • Returns string

    "Enum.MEMBER"

  • Returns a constant with the specified name, or undefined if not found. (Case-sensitive)

    Shortcut to using getMap.

    Parameters

    • name: string

    Returns PusherMode

  • Returns a constant with the specified value, or undefined if not found.

    Shortcut to using getReverseMap and getMap.

    Parameters

    • value: number

    Returns PusherMode

  • Enum names to constant instances.

    Can be used to get the names and values of all constants in this enum.

    Returns Map<string, PusherMode>

  • Enum values to names.

    Returns Map<number, string>