---
title: ILClassificationResponse
framework: SMS and Call Reporting
role: symbol
role_heading: Class
platforms: [iOS 12.0+, iPadOS 12.0+, Mac Catalyst 13.0+, visionOS 1.0+]
path: identitylookup/ilclassificationresponse
---

# ILClassificationResponse

A response object that tells the system how to handle the reported communications.

## Declaration

```swift
class ILClassificationResponse
```

## Overview

Overview To work in areas where Wi-Fi connections and cellular data may be unreliable, the extension sends the response using an SMS message. As long as the action isn’t ILClassificationAction.none, the extension creates an SMS message to the number provided by the ILClassificationExtensionSMSReportDestination key in the extension’s info.plist file. The message’s body contains a JSON string with both the classification action and the contents of the user info dictionary. For more information, see JSONSerialization.

## Topics

### Creating Responses

- [init(action:)](identitylookup/ilclassificationresponse/init(action:).md)

### Accessing Data

- [action](identitylookup/ilclassificationresponse/action.md)
- [userInfo](identitylookup/ilclassificationresponse/userinfo.md)
- [userString](identitylookup/ilclassificationresponse/userstring.md)

### Initializers

- [init(classificationAction:)](identitylookup/ilclassificationresponse/init(classificationaction:).md)
- [init(coder:)](identitylookup/ilclassificationresponse/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Responses

- [ILClassificationAction](identitylookup/ilclassificationaction.md)
