Type-Definitions

The following type definitions are available globally.

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

    Declaration

    Objective-C

    typedef void (^FIRSmartReplyCallback)(FIRSmartReplySuggestionResult *_Nullable,
                                          NSError *_Nullable)

    Parameters

    result

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

    error

    The error or nil.