AI-generated Key Takeaways
-
The
SmartReplyCallbacktype defines a block providing a suggestion result or an error for smart reply functionality. -
The
SmartReplyResultStatustype indicates the status of the smart reply result, whether it was successful or encountered an error.
Type Definitions
The following type definitions are available globally.
-
A block containing a suggestion result or
nilif there’s an error.Declaration
Swift
typealias SmartReplyCallback = (MLKSmartReplySuggestionResult?, Error?) -> VoidParameters
resultA suggestion result for the text or
nilif there’s an error.errorThe error or
nil. -
@enum SmartReplyResultStatus This enum specifies the status of the smart reply result.
Declaration
Swift
struct SmartReplyResultStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable