LabelValueDefinition

data class LabelValueDefinition(val adultOnly: Boolean? = null, val blurs: String, val defaultSetting: String? = null, val identifier: String, val locales: List<LabelValueDefinitionStrings>, val severity: String)

Declares a label value and its expected interpretations and behaviors.

Constructors

Link copied to clipboard
constructor(adultOnly: Boolean? = null, blurs: String, defaultSetting: String? = null, identifier: String, locales: List<LabelValueDefinitionStrings>, severity: String)

Properties

Link copied to clipboard
val adultOnly: Boolean? = null

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

Link copied to clipboard

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.

Link copied to clipboard
val defaultSetting: String? = null

The default setting for this label.

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard

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