kNudityInterpretedLabelValueDefinition top-level constant

InterpretedLabelValueDefinition const kNudityInterpretedLabelValueDefinition

Implementation

const kNudityInterpretedLabelValueDefinition = InterpretedLabelValueDefinition(
  identifier: 'nudity',
  configurable: true,
  defaultSetting: LabelPreference.ignore,
  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,
    }
  },
);