Using Communication Components > AVPresence object

 

AVPresence object

The AVPresence API provides the client-side and server-side functionality for connecting your objects to the server and cleaning up.

 
Method summary for the AVPresence object

Property

Description

FCAVPresence.connect

Sets up all the assets that this component needs to function (on the client side and the server side), and calls the setUsername function with the name that the server provides.

FCAVPresence.setUsername

Gets the user name to display in the list of active users.

FCAVPresence.close

Closes the connection to the server.