C++ API Library Reference  4.3.2-74-ge1d4cca
Public Functions | List of all members
ISessionDefaultColorProvider Class Referenceabstract

The ISessionDefaultColorProvider interface is used to create a custom color provider for collaboration.

The color provider determines which color is assigned to each collaboration session. This is useful, for example, when using the client-side acetate functionality: each participant's cursor or drawing on the view overlay will appear in a different color. PureWeb comes with a built-in color provider. Changing this default is rare, but this interface allows you to do so.

Public Functions

virtual PureWebColor GetSessionDefaultColor (Guid sessionId)=0
 
Constructors and Destructors
virtual ~ISessionDefaultColorProvider ()
 

Usage Description

virtual PureWebColor GetSessionDefaultColor ( Guid  sessionId)
pure virtual

A virtual method that you would implement to explicitly tell PureWeb which default color to use for a given session.

You can use the PureWebColor class to manipulate colors.