MLKitSmartReply Framework ReferenceStay organized with collectionsSave and categorize content based on your preferences.
Page Summary
Globally available type definitions provide developers with tools for handling smart reply suggestions and results within their applications.
MLKSmartReplyCallbackis a block that returns a suggestion result or an error, enabling developers to process smart reply outcomes.
MLKSmartReplyResultStatusis an enumeration that defines the status of a smart reply result, allowing developers to understand the outcome of the smart reply process.
Type Definitions
The following type definitions are available globally.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[],["The content defines two types for smart reply functionality: `MLKSmartReplyCallback` and `MLKSmartReplyResultStatus`. `MLKSmartReplyCallback` is a block that returns a suggestion result or an error. It accepts two parameters: `result` (a suggestion or `nil`) and `error` (an error or `nil`). `MLKSmartReplyResultStatus` is an enumeration representing the status of a smart reply result. Both are available globally, as indicated by the type definition.\n"]]