Constructor
new RoomExtension(id, className)
Creates a new instance of the RoomExtension class.
The RoomSettings#extension property must be set to this instance during Room creation.
The RoomSettings#extension property must be set to this instance during Room creation.
Parameters:
| Name | Type | Description |
|---|---|---|
id | string | The identifier of the Extension deployed on the server: it's the name of the folder containing the Extension classes inside the server's /extensions folder. |
className | string | The fully-qualified name of the main class of the Extension. |
Members
className :string
Fully-qualified name of the main class of the Extension.
Type:
- string
id :string
Identifier (name) of the Extension to be attached to the Room.
This is the name of the folder containing the Extension classes inside the server's /extensions folder.
Type:
- string
propertiesFile :string
Name of an optional properties file that should be loaded on the server side during the Extension initialization.
The properties file must be located in the same folder containing the Extension classes on the server side.
Type:
- string
- Default Value
- (empty string)