moderation library
Classes
- InterpretedLabelValueDefinition
- ModerationCause
- ModerationCauseBlockedBy
- ModerationCauseBlocking
- ModerationCauseBlockOther
- ModerationCauseHidden
- ModerationCauseLabel
- ModerationCauseMuted
- ModerationCauseMuteWord
- ModerationCauseSource
- ModerationCauseSourceLabeler
- ModerationCauseSourceList
- ModerationCauseSourceUser
- ModerationDecision
- ModerationOpts
- ModerationPrefs
- ModerationPrefsLabeler
- ModerationSubjectFeedGenerator
- ModerationSubjectNotification
- ModerationSubjectPost
- ModerationSubjectProfile
- ModerationSubjectUserList
- ModerationUI
- UModerationCauseBlockedBy
- UModerationCauseBlocking
- UModerationCauseBlockOther
- UModerationCauseHidden
- UModerationCauseLabel
- UModerationCauseMuted
- UModerationCauseMuteWord
- UModerationCauseSourceLabeler
- UModerationCauseSourceList
- UModerationCauseSourceUser
- UModerationSubjectFeedGenerator
- UModerationSubjectNotification
- UModerationSubjectPostPostView
- UModerationSubjectProfileProfileView
- UModerationSubjectProfileProfileViewBasic
- UModerationSubjectProfileProfileViewDetailed
- UModerationSubjectUserListListView
- UModerationSubjectUserListListViewBasic
Enums
Extensions
Constants
-
kBlockBehavior
→ const Map<
String, ModerationBehavior> -
kDefaultLabelSettings
→ const Map<
KnownLabelValue, LabelPreference> - kGraphicMediaInterpretedLabelValueDefinition → const InterpretedLabelValueDefinition
-
kHideBehavior
→ const Map<
String, ModerationBehavior> - kHideInterpretedLabelValueDefinition → const InterpretedLabelValueDefinition
-
kLabels
→ const Map<
KnownLabelValue, InterpretedLabelValueDefinition> -
kMuteBehavior
→ const Map<
String, ModerationBehavior> -
kMuteWordBehavior
→ const Map<
String, ModerationBehavior> - kNoopBehavior → const Map
- kNoUnauthenticatedInterpretedLabelValueDefinition → const InterpretedLabelValueDefinition
- kNudityInterpretedLabelValueDefinition → const InterpretedLabelValueDefinition
- kPornInterpretedLabelValueDefinition → const InterpretedLabelValueDefinition
- kSexualInterpretedLabelValueDefinition → const InterpretedLabelValueDefinition
- kWarnInterpretedLabelValueDefinition → const InterpretedLabelValueDefinition
Functions
-
getInterpretedLabelValueDefinition(
{required String identifier, LabelPreference defaultSetting = LabelPreference.warn, required String severity, required String blurs, String? definedBy, bool adultOnly = false}) → InterpretedLabelValueDefinition -
getInterpretedLabelValueDefinitions(
LabelerViewDetailed labelerView) → List< InterpretedLabelValueDefinition> -
getLabelerHeaders(
ModerationPrefs? prefs) → Map< String, String> -
hasMutedWord(
{required List< MutedWord> mutedWords, required String text, List<Facet> ? facets, List<String> ? outlineTags, List<String> ? languages}) → bool -
moderateFeedGenerator(
ModerationSubjectFeedGenerator subject, ModerationOpts opts) → ModerationDecision -
moderateNotification(
ModerationSubjectNotification subject, ModerationOpts opts) → ModerationDecision -
moderatePost(
ModerationSubjectPost subject, ModerationOpts opts) → ModerationDecision -
moderateProfile(
ModerationSubjectProfile subject, ModerationOpts opts) → ModerationDecision -
moderateUserList(
ModerationSubjectUserList subject, ModerationOpts opts) → ModerationDecision