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 BLOCKLISTBlockReason

Content was blocked for another reason.

OTHER

val OTHERBlockReason

Content was blocked for another reason.

PROHIBITED_CONTENT

val PROHIBITED_CONTENTBlockReason

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

SAFETY

val SAFETYBlockReason

Content was blocked for violating provided SafetySetting.

UNKNOWN

val UNKNOWNBlockReason

A new and not yet supported value.

Public properties

name

val nameString

ordinal

val ordinalInt