Constructor
new Now4realSubjectUpdate()
You cannot use this constructor directly. Interact with instances of this class through subjectUpdateCallback.
Members
(readonly) data :Object
An object that contains the update payload.
(readonly) timestamp :number
The number of milliseconds since the Unix Epoch.
(readonly) type :string
The name of the subject to which the update belongs.
Type Definitions
AuthorizationUpdate :Now4realSubjectUpdate
Properties:
| Name | Type | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
type |
string |
|
|||||||||||||||
timestamp |
number |
The number of milliseconds since the Unix Epoch. |
|||||||||||||||
data |
object |
Properties
|
ConnectionStatusUpdate :Now4realSubjectUpdate
Properties:
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
type |
string |
|
||||||
timestamp |
number |
The number of milliseconds since the Unix Epoch. |
||||||
data |
object |
Properties
|
CounterUpdate :Now4realSubjectUpdate
Properties:
| Name | Type | Description | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
type |
string |
The name of the counter subject to which the update belongs. |
||||||||||||||||||||||||||
timestamp |
number |
The number of milliseconds since the Unix Epoch. |
||||||||||||||||||||||||||
data |
object |
Properties
|
||||||||||||||||||||||||||
HeatmapUpdate :Now4realSubjectUpdate
Properties:
| Name | Type | Description |
|---|---|---|
type |
string |
The name of the heatmap subject to which the update belongs. |
timestamp |
number |
The number of milliseconds since the Unix Epoch. |
data |
Now4real~Heatmap |
A map where each key is a two-letter ISO 3166-1 alpha-2 country code (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) and each value is a number from 0 to 1 representing the intensity (score, not a percentage) of viewers from that country in the current Page or Site Context. |
LoginStatusUpdate :Now4realSubjectUpdate
Properties:
| Name | Type | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
type |
string |
|
||||||||||||||||
timestamp |
number |
The number of milliseconds since the Unix Epoch. |
||||||||||||||||
data |
object |
Properties
|
MessageListUpdate :Now4realSubjectUpdate
Properties:
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
type |
string |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
timestamp |
number |
The number of milliseconds since the Unix Epoch. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
data |
object |
Properties
|
ParametersUpdate :Now4realSubjectUpdate
Properties:
| Name | Type | Description | |||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
type |
string |
|
|||||||||||||||||||||||||||||||||||||||
timestamp |
number |
The number of milliseconds since the Unix Epoch. |
|||||||||||||||||||||||||||||||||||||||
data |
object |
Properties
|
PollStatusUpdate :Now4realSubjectUpdate
Properties:
| Name | Type | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
type |
string |
|
||||||||||||||||||||
timestamp |
number |
The number of milliseconds since the Unix Epoch. |
||||||||||||||||||||
data |
object |
Properties
|
PollUpdate :Now4realSubjectUpdate
Properties:
| Name | Type | Description | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
type |
string |
|
|||||||||||||||||||||
timestamp |
number |
The number of milliseconds since the Unix Epoch. |
|||||||||||||||||||||
data |
object |
Properties
|
RankingUpdate :Now4realSubjectUpdate
Properties:
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
type |
string |
The name of the ranking subject to which the update belongs. |
||||||||||||||||||||||||
timestamp |
number |
The number of milliseconds since the Unix Epoch. |
||||||||||||||||||||||||
data |
object |
Properties
|
TypingListUpdate :Now4realSubjectUpdate
Properties:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
type |
string |
|
|||||||||
timestamp |
number |
The number of milliseconds since the Unix Epoch. |
|||||||||
data |
object |
Properties
|