Let's Chat?

Customizing Colors

1. Screenshare colors

Use the method setDefaultUIColor to set various colors used by the default UI:

GlanceVisitor.setDefaultUIColor(GlanceDefaultUIColors.CONSTANT, color: UIColor.COLOR_VALUE)
[GlanceVisitor setDefaultUIColor:CONSTANT color:COLOR_VALUE];

Color constants can be found in the images below.

Dialog Colors

the default dialog colors.

Session Key Colors

the default session key colors.

Agent Viewer Colors

the default agent viewer colors.

End Button Colors

The default end button colors.

2. Two-Way Video colors

Use the method setVideoDefaultUIColor to set various colors used by the default UI:

GlanceVisitor.setVideoDefaultUIColor(GlanceDefaultUIColors.CONSTANT, color: UIColor.COLOR_VALUE)
[GlanceVisitor setVideoDefaultUIColor:CONSTANT color:COLOR_VALUE];

Color constants can be found in the images below.

Videl Call Colors

Dialog Colors

Congratulations! You're now able to set your own colors using the Glance SDK.

By continuing to use the site, you agree to the use of cookies. Learn More