HarmSeverity

public final class HarmSeverity


Represents the severity of a HarmCategory being applicable in a SafetyRating.

Summary

Nested types

public static class HarmSeverity.Companion

Public fields

static final @NonNull HarmSeverity

High level of harm severity.

static final @NonNull HarmSeverity

Low level of harm severity.

static final @NonNull HarmSeverity

Medium level of harm severity.

static final @NonNull HarmSeverity

Severity for harm is negligible.

static final @NonNull HarmSeverity

A new and not yet supported value.

final int

Public fields

HIGH

public static final @NonNull HarmSeverity HIGH

High level of harm severity.

LOW

public static final @NonNull HarmSeverity LOW

Low level of harm severity.

MEDIUM

public static final @NonNull HarmSeverity MEDIUM

Medium level of harm severity.

NEGLIGIBLE

public static final @NonNull HarmSeverity NEGLIGIBLE

Severity for harm is negligible.

UNKNOWN

public static final @NonNull HarmSeverity UNKNOWN

A new and not yet supported value.

ordinal

public final int ordinal