Icons
Geocode
LBS
Search
Route
Points
Miscellaneous
Index

Presence

Control user's presence details and privacy, avatar, personal message and location information.


Summary
Control user's presence details and privacy, avatar, personal message and location information.
The Presence constructor; Creates a new Presence instance by a separate presence fields.
The location permission for the user. If false - the user's location won't be used.
The status code of the user.
The status name of the user.
The nickname of the user.
The personnal message of the user.
Media object of the user.
Location object of the user.

Constructors

Presence

Presence( boolean locationPermission
integer statusCode
string statusName
string nickname
string personnalMessage
Media media
Location location)

The Presence constructor; Creates a new Presence instance by a separate presence fields.

Parameters

locationPermissionThe location permission for the user. If false - the user's location won't be used.
statusCodeThe status code of the user.
statusNameThe status name of the user.
nicknameThe nickname of the user.
personnalMessageThe personnal message of the user.
mediaMedia object of the user.
locationLocation object of the user.

Properties

locationPermission

string id

The id of the presence. 

statusCode

integer statusCode

The time of the presence. 

statusName

string statusName

The local time of the presence. 

nickname

string nickname

The url of the presence. 

personnalMessage

string personnalMessage

The thumbnail url of the presence. 

media

Media media

The thumbnail url of the presence. 

location

Location location

The thumbnail url of the presence. 

Address(string fullAddress)
The Address constructor; Creates a new Address instance by a full address value.
This is the base class of the provided coordinates classes.