---
title: CSSearchableItemActionType
framework: corespotlight
role: symbol
role_heading: Global Variable
path: corespotlight/cssearchableitemactiontype
---

# CSSearchableItemActionType

Indicates that the activity type to continue is related to a searchable item.

## Declaration

```swift
let CSSearchableItemActionType: String
```

## Discussion

Discussion The CSSearchableItemActionType and CSSearchableItemActivityIdentifier constants help your app restore state or an activity when a user opens a searchable item listed in a search result. When the user opens the item, Handoff calls your app delegate’s application(_:willContinueUserActivityWithType:) method with CSSearchableItemActionType. Handoff also delivers an NSUserActivity object that contains a userInfo dictionary in which the key is CSSearchableItemActivityIdentifier and the associated value is the unique identifier that was used when the item was created. Your app delegate can check for the unique identifier in its application(_:continue:restorationHandler:) method. To learn more about enabling Handoff in your app, see the Handoff Programming Guide.

## See Also

### Continuing a search or activity

- [CSSearchableItemActivityIdentifier](corespotlight/cssearchableitemactivityidentifier.md)
- [CSQueryContinuationActionType](corespotlight/csquerycontinuationactiontype.md)
- [CSSearchQueryString](corespotlight/cssearchquerystring.md)
