> For the complete documentation index, see [llms.txt](https://docs.sentiance.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sentiance.com/sdk/api-reference/ios/user-context/sentsegment.md).

# SENTSegment

```objectivec
@interface SENTSegment : NSObject <NSSecureCoding, NSCopying>

@property (nonatomic, assign) NSInteger uniqueId;
@property (nonatomic, assign) SENTSegmentType type;
@property (nonatomic, assign) SENTSegmentCategory category;
@property (nonatomic, assign) SENTSegmentSubcategory subcategory;
@property (nonatomic, strong, nonnull) SENTDate *startDate;
@property (nonatomic, strong, nullable) SENTDate *endDate;
@property (nonatomic, strong, nonnull) NSArray<SENTAttribute *> *attributes;

- (BOOL)isEqualToSegment:(SENTSegment *)segment;

@end
```
