Presence
Extends:
Direct Subclass:
This class must not be instantiated. Presence objects are automatically obtained associated to Contact objects.
Events
update
-> triggered every time the presence object is updated.
Constructor Summary
Public Constructor | ||
public |
constructor(presenceManager: PresenceManager, address: string) |
Member Summary
Public Members | ||
public get |
ACTIVITY: Enum<PresenceActivity> this get was deprecated. Use "import {PresenceActivity} from '@quobis/sippojs' instead"
Represents the different status of an user |
|
public get |
MOOD: Enum<PresenceMood> this get was deprecated. Use "import {PresenceMood} from '@quobis/sippojs' instead"
Represents the different emotional states of an user |
|
public get |
User activity |
|
public get |
Address associated with this presence |
|
public set |
Update address associated with this presence |
|
public get |
Avatar location |
|
public get |
Display name |
|
public get |
User emotional state |
|
public get |
Short message defined by user |
|
public get |
User is online |
Method Summary
Public Methods | ||
public |
Returns a JSON representation of the object. |
|
public |
waitUntilSynced(): Promise<void> |
Public Constructors
Public Members
public get ACTIVITY: Enum<PresenceActivity> source
Represents the different status of an user
public get MOOD: Enum<PresenceMood> source
Represents the different emotional states of an user