setShowNamesMode()

setShowNamesMode({mode})

Compatibility:
Prebuilt
Custom

Determines whether user names are shown overlaying the video elements in the standard Daily Prebuilt call user interface. Has no effect on custom interfaces (built on the Daily call object).

The mode argument must be one of 'always', 'never', or null. always is the default UI behavior.

Returns this.