LabelValueDefinition

constructor(identifier: String, severity: Severity, blurs: Blurs, defaultSetting: DefaultSetting? = DefaultSetting.Warn, adultOnly: Boolean? = null, locales: List<LabelValueDefinitionStrings>)

Parameters

identifier

The value of the label being defined. Must only include lowercase ascii and the '-' character (a-z-+).

severity

How should a client visually convey this label? 'inform' means neutral and informational; 'alert' means negative and warning; 'none' means show nothing.

blurs

What should this label hide in the UI, if applied? 'content' hides all of the target; 'media' hides the images/video/audio; 'none' hides nothing.

defaultSetting

The default setting for this label.

adultOnly

Does the user need to have adult content enabled in order to configure this label?