Class

ILClassificationResponse

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

Declaration

@interface ILClassificationResponse : NSObject

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 is not ILClassificationActionNone, 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 NSJSONSerialization.

Topics

Creating Responses

- initWithClassificationAction:

Creates a new response using the provided classification.

Accessing Data

action

A classification that determines what action the system takes.

userInfo

Data included in the response.

Instance Properties

Relationships

Inherits From

Conforms To

See Also

Responses

ILClassificationAction

The actions the system can take in response to the reported communication.