---
title: CSUserQuery.UserInteractionKind
framework: corespotlight
role: symbol
role_heading: Enumeration
path: corespotlight/csuserquery/userinteractionkind
---

# CSUserQuery.UserInteractionKind

Constants that indicate how someone engaged with search-related content.

## Declaration

```swift
enum UserInteractionKind
```

## Topics

### Getting the interaction types

- [default](corespotlight/csuserquery/userinteractionkind/default.md)
- [CSUserQuery.UserInteractionKind.select](corespotlight/csuserquery/userinteractionkind/select.md)
- [CSUserQuery.UserInteractionKind.focus](corespotlight/csuserquery/userinteractionkind/focus.md)

### Creating an interaction kind

- [init(rawValue:)](corespotlight/csuserquery/userinteractionkind/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Improving the quality of ranked results

- [userEngaged(_:visibleItems:interaction:)](corespotlight/csuserquery/userengaged(_:visibleitems:interaction:).md)
- [userEngaged(_:visibleSuggestions:interaction:)](corespotlight/csuserquery/userengaged(_:visiblesuggestions:interaction:).md)
