# 15.1.4.8. SampleStateKind¶

enum dds::fastdds::eprosima::SampleStateKind

Indicates whether or not a sample has ever been read.

For each sample received, the middleware internally maintains a sample state relative to each DataReader. This sample state can have the following values:

The sample state will, in general, be different for each sample in the collection returned by read or take.

Values:

enumerator READ_SAMPLE_STATE = 0x0001 << 0

enumerator NOT_READ_SAMPLE_STATE = 0x0001 << 1