plugin
- Description:
-
-
Collection of functions that manage plugin. Manages the overall life cycle of the plugin, such as created, resumed, and destroyed. Manages the information of the plugin by offering getters and setters.
-
- Source:
Properties:
Name | Type | Description |
---|---|---|
onCreate |
function |
Callback function called when plugin is created. See bim.plugin.onCreate for more details. |
onResume |
function |
Callback function called when plugin is resumed. See bim.plugin.onResume for more details. |
onDestroy |
function |
Callback function called when plugin is destroyed. See bim.plugin.onDestroy for more details. |
name |
Object |
Object to control the name of the plugin. See bim.plugin.name for more details. |
token |
Object |
Object to control the token of the plugin. See bim.plugin.token for more details. |
id |
Object |
Object to control the id of the plugin. See bim.plugin.id for more details. |
path |
Object |
Object saving the location information of the plugin. See bim.plugin.path for more details. |
Members
(static) name :Object
- Description:
-
-
Manages Plugin Name with private variable. Provides getter & setter.
-
- Source:
Properties:
Name | Type | Description |
---|---|---|
set |
function |
Set Plugin Name to private variable
|
get |
function |
Get Plugin Name from private variable |
Manages Plugin Name with private variable. Provides getter & setter.
Type:
- Object
(static) token :Object
- Description:
-
-
Manage Plugin Token with private variable. Provides getter & setter.
-
- Source:
Properties:
Name | Type | Description |
---|---|---|
set |
function |
Set Plugin Token to private variable Makes an error when reading file "key" fails. |
get |
function |
Get Plugin Token from private variable
|
Manage Plugin Token with private variable. Provides getter & setter.
Type:
- Object
(static) id :Object
- Description:
-
-
Manage Plugin ID with private variable. Provides getter & setter.
-
- Source:
Properties:
Name | Type | Description |
---|---|---|
set |
function |
Set Plugin ID to private variable
|
get |
function |
Get Plugin ID from private variable
|
Manage Plugin ID with private variable. Provides getter & setter.
Type:
- Object
(static) path :Object
- Description:
-
-
Object saving the location information of the plugin.
-
- Source:
Properties:
Name | Type | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
current |
string |
|
||||||||||||||||||||||||||||||
options |
Object |
Properties
|
Object saving the location information of the plugin.
Type:
- Object
Methods
(static) onCreate(params)
- Description:
-
Callback function called when plugin is created.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
params |
* |
(static) onResume(params)
- Description:
-
Callback function called when plugin is resumed.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
params |
* |
(static) onDestroy(params)
- Description:
-
-
Callback function called when plugin is destroyed.
-
- Source:
Parameters:
Name | Type | Description |
---|---|---|
params |
* |