Search
Preparing search index...
The search index is not available
@mobsya/thymio-api
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"thymio"
Group
Class Group
Hierarchy
BasicNode
Group
Implements
IBasicNode
IGroup
Index
Constructors
constructor
Properties
_client
_events
_id
_monitoring_
flags
_on_
events_
descriptions_
changed
_on_
variables_
changed
_variables
Accessors
events
Descriptions
id
nodes
on
Events
Descriptions
Changed
on
Variables
Changed
variables
Methods
_set_
monitoring_
flags
emit
Events
set
Events
Descriptions
set
Variables
watch
Shared
Variables
And
Events
Constructors
constructor
new
Group
(
client
:
Client
, id
:
NodeId
)
:
Group
Parameters
client:
Client
id:
NodeId
Returns
Group
Properties
Protected
_client
_client
:
Client
_events
_events
:
any
Protected
_id
_id
:
NodeId
Protected
_monitoring_
flags
_monitoring_
flags
:
number
Private
_on_
events_
descriptions_
changed
_on_
events_
descriptions_
changed
:
function
Type declaration
(
events
:
EventDescription
[]
)
:
void
Parameters
events:
EventDescription
[]
Returns
void
Private
_on_
variables_
changed
_on_
variables_
changed
:
function
Type declaration
(
variables
:
Variables
)
:
void
Parameters
variables:
Variables
Returns
void
_variables
_variables
:
any
Accessors
events
Descriptions
get
eventsDescriptions
(
)
:
any
Returns
any
id
get
id
(
)
:
NodeId
Returns
NodeId
nodes
get
nodes
(
)
:
Node
[]
Returns
Node
[]
on
Events
Descriptions
Changed
get
onEventsDescriptionsChanged
(
)
:
function
set
onEventsDescriptionsChanged
(
cb
:
function
)
:
void
Returns
function
(
events
:
EventDescription
[]
)
:
void
Parameters
events:
EventDescription
[]
Returns
void
Parameters
cb:
function
(
events
:
EventDescription
[]
)
:
void
Parameters
events:
EventDescription
[]
Returns
void
Returns
void
on
Variables
Changed
get
onVariablesChanged
(
)
:
function
set
onVariablesChanged
(
cb
:
function
)
:
void
Returns
function
(
variables
:
Variables
)
:
void
Parameters
variables:
Variables
Returns
void
Parameters
cb:
function
(
variables
:
Variables
)
:
void
Parameters
variables:
Variables
Returns
void
Returns
void
variables
get
variables
(
)
:
any
Returns
any
Methods
_set_
monitoring_
flags
_set_
monitoring_
flags
(
flag
:
any
, set
:
any
)
:
Promise
<
any
>
Parameters
flag:
any
set:
any
Returns
Promise
<
any
>
emit
Events
emit
Events
(
map_or_key
:
string
|
Events
, value
?:
any
)
:
Promise
<
any
>
Parameters
map_or_key:
string
|
Events
Optional
value:
any
Returns
Promise
<
any
>
set
Events
Descriptions
set
Events
Descriptions
(
events
:
any
)
:
Promise
<
any
>
Parameters
events:
any
Returns
Promise
<
any
>
set
Variables
set
Variables
(
variables
:
Variables
)
:
Promise
<
any
>
Parameters
variables:
Variables
Returns
Promise
<
any
>
watch
Shared
Variables
And
Events
watch
Shared
Variables
And
Events
(
flags
:
number
)
:
Promise
<
any
>
Parameters
flags:
number
Returns
Promise
<
any
>
Globals
Internals
"thymio"
Externals
"thymio_
generated"
AsebaVMDescription
Basic
Node
Client
Event
Description
Group
constructor
_client
_events
_id
_monitoring_
flags
_on_
events_
descriptions_
changed
_on_
variables_
changed
_variables
events
Descriptions
id
nodes
on
Events
Descriptions
Changed
on
Variables
Changed
variables
_set_
monitoring_
flags
emit
Events
set
Events
Descriptions
set
Variables
watch
Shared
Variables
And
Events
Invalid
NodeIDException
Node
Node
Id
Request
IBasic
Node
IClient
IGroup
INode
Events
Variables
MIN_
PROTOCOL_
VERSION
PROTOCOL_
VERSION
create
Client
Generated using
TypeDoc