Search
Preparing search index...
The search index is not available
@nationskollen/sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@nationskollen/sdk
services/activity
Activity
Class Activity
Hierarchy
BaseService
Activity
Index
Constructors
constructor
Properties
$callbacks
$connection
$has
Web
Socket
Callback
$ws
Methods
handle
Activity
Change
subscribe
subscribe
ToActivity
Change
unsubscribe
Constructors
constructor
new
Activity
(
connection
:
Connection
)
:
Activity
Parameters
connection:
Connection
Returns
Activity
Properties
Private
$callbacks
$callbacks
:
Callbacks
= {}
Protected
$connection
$connection
:
Connection
Private
$has
Web
Socket
Callback
$has
Web
Socket
Callback
:
boolean
= false
Private
Optional
$ws
$ws
:
WebSocketConnection
Methods
Private
handle
Activity
Change
handle
Activity
Change
(
__namedParameters
:
ActivityData
)
:
void
Parameters
__namedParameters:
ActivityData
Returns
void
subscribe
subscribe
(
locationId
:
number
, cb
:
ActivityChangeCallback
)
:
void
Parameters
locationId:
number
cb:
ActivityChangeCallback
Returns
void
Private
subscribe
ToActivity
Change
subscribe
ToActivity
Change
(
)
:
void
Returns
void
unsubscribe
unsubscribe
(
locationId
:
number
, cb
:
ActivityChangeCallback
)
:
void
Parameters
locationId:
number
cb:
ActivityChangeCallback
Returns
void
Modules
services/activity
Activity
constructor
$callbacks
$connection
$has
Web
Socket
Callback
$ws
handle
Activity
Change
subscribe
subscribe
ToActivity
Change
unsubscribe
Activity
Change
Callback
Generated using
TypeDoc