BlockReason

class BlockReason


Describes why content was blocked.

Summary

Public companion properties

BlockReason

Content was blocked for another reason.

BlockReason

Content was blocked for another reason.

BlockReason

Candidates blocked due to the terms which are included from the terminology blocklist.

BlockReason

Content was blocked for violating provided SafetySetting.

BlockReason

A new and not yet supported value.

Public properties

String
Int

Public companion properties

BLOCKLIST

val BLOCKLIST: BlockReason

Content was blocked for another reason.

OTHER

val OTHER: BlockReason

Content was blocked for another reason.

PROHIBITED_CONTENT

val PROHIBITED_CONTENT: BlockReason

Candidates blocked due to the terms which are included from the terminology blocklist.

SAFETY

val SAFETY: BlockReason

Content was blocked for violating provided SafetySetting.

UNKNOWN

val UNKNOWN: BlockReason

A new and not yet supported value.

Public properties

name

val name: String

ordinal

val ordinal: Int