MLKitSmartReply Framework Reference

Type Definitions

The following type definitions are available globally.

  • A block containing a suggestion result or nil if there’s an error.

    Declaration

    Swift

    typealias SmartReplyCallback = (MLKSmartReplySuggestionResult?, Error?) -> Void

    Parameters

    result

    A suggestion result for the text or nil if there’s an error.

    error

    The error or nil.

  • @enum SmartReplyResultStatus This enum specifies the status of the smart reply result.

    Declaration

    Swift

    struct SmartReplyResultStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable