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

Colors Colors

Session Key Colors

Colors Colors

Agent Viewer Colors

Colors Colors

End Button Colors

Colors 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.

Video Call Colors

Colors Colors

Dialog Colors

Colors Colors

You’re now able to set your own colors using the Glance SDK.