ConnectApi.​LabeledRecord​Field Class

This class is abstract.

Subclass of ConnectApi.​​Abstract​RecordField Class

A record field containing a label and a text value.

Important

Important

The composition of a feed may change between releases. Your code should always be prepared to handle instances of unknown subclasses.

Name Type Description Available Version
label String A localized string describing the record field. 29.0
text String The 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