kGraphicMediaInterpretedLabelValueDefinition top-level constant

InterpretedLabelValueDefinition const kGraphicMediaInterpretedLabelValueDefinition

Implementation

const kGraphicMediaInterpretedLabelValueDefinition =
    InterpretedLabelValueDefinition(
  identifier: 'graphic-media',
  configurable: true,
  defaultSetting: LabelPreference.warn,
  flags: [
    LabelValueDefinitionFlag.adult,
  ],
  severity: 'none',
  blurs: 'media',
  behaviors: {
    LabelTarget.account: {
      ModerationBehaviorContext.avatar: ModerationBehavior.blur,
      ModerationBehaviorContext.banner: ModerationBehavior.blur,
    },
    LabelTarget.profile: {
      ModerationBehaviorContext.avatar: ModerationBehavior.blur,
      ModerationBehaviorContext.banner: ModerationBehavior.blur,
    },
    LabelTarget.content: {
      ModerationBehaviorContext.contentMedia: ModerationBehavior.blur,
    }
  },
);