Connection Enums
This page describes the enums used in connection-related functionalities.
ConnectionAction
The ConnectionAction enum defines the possible actions to perform on a connection.
| Value | Description |
|---|---|
accept | Accept the connection request. |
reject | Reject the connection request. |
Enum Details
accept: Represents an action to accept the connection request.reject: Represents an action to reject the connection request.
Each enum value has a corresponding value property that holds the string representation of the action.
ConnectionType
The ConnectionType enum defines the possible types of connections.
| Value | Description |
|---|---|
oneWay | A one-way connection request, where only the sender initiates the connection. |
twoWay | A two-way connection request, where both users agree to the connection. |
Enum Details
oneWay: Represents a one-way connection request.twoWay: Represents a two-way connection request.
Each enum value has a corresponding value property that holds the string representation of the type.