BlockReason
public final class BlockReason
Describes why content was blocked.
Summary
Nested types |
|---|
public static class BlockReason.Companion |
Public fields |
|
|---|---|
static final @NonNull BlockReason |
Content was blocked for another reason. |
static final @NonNull BlockReason |
Content was blocked for another reason. |
static final @NonNull BlockReason |
Candidates blocked due to the terms which are included from the terminology blocklist. |
static final @NonNull BlockReason |
Content was blocked for violating provided |
static final @NonNull BlockReason |
A new and not yet supported value. |
final @NonNull String |
|
final int |
Public fields
BLOCKLIST
public static final @NonNull BlockReason BLOCKLIST
Content was blocked for another reason.
PROHIBITED_CONTENT
public static final @NonNull BlockReason PROHIBITED_CONTENT
Candidates blocked due to the terms which are included from the terminology blocklist.
SAFETY
public static final @NonNull BlockReason SAFETY
Content was blocked for violating provided SafetySetting.