Newer Version Available

This content describes an older version of this product. View Latest

ConnectApi.​LabeledRecord​Field

This class is abstract.

Subclass of ConnectApi.​​Abstract​RecordField.

Record field containing a label and a text value.

The composition of a feed can change between releases. Write your code to handle instances of unknown subclasses.

Important

Name Type Description Available Version
label String Localized string describing the record field. 29.0
text String Text value of the record field. All record fields have a text value. To ensure that all clients can consume new content, inspect the record field’s type property. If it isn’t recognized, render the text value as the default case. 29.0