SmartReplySuggestionResult

public class SmartReplySuggestionResult extends Object

This class is deprecated.
The standalone ML Kit SDK replaces this API. For more information, refer to the migration guide.

The suggested result from the FirebaseSmartReply for the given text. It contains a list of SmartReplySuggestions.

Nested Class Summary

@interface SmartReplySuggestionResult.Status All possible status codes for a Smart Reply suggestion attempt. 

Constant Summary

int STATUS_NOT_SUPPORTED_LANGUAGE The Smart Reply model currently doesn't support the language used in the conversation.
int STATUS_NO_REPLY The Smart Reply model cannot determine an applicable reply.
int STATUS_SUCCESS The Smart Reply model successfully generated (1-3) replies for you.

Public Method Summary

int
getStatus()
Gets the status of the Smart Reply suggestion result.
List<SmartReplySuggestion>
getSuggestions()
A list of the predicted responses sorted by confidence.
String

Inherited Method Summary

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Constants

public static final int STATUS_NOT_SUPPORTED_LANGUAGE

The Smart Reply model currently doesn't support the language used in the conversation.

Constant Value: 101

public static final int STATUS_NO_REPLY

The Smart Reply model cannot determine an applicable reply.

Constant Value: 200

public static final int STATUS_SUCCESS

The Smart Reply model successfully generated (1-3) replies for you.

Constant Value: 0

Public Methods

public int getStatus ()

Gets the status of the Smart Reply suggestion result.

Possible values are:

public List<SmartReplySuggestion> getSuggestions ()

A list of the predicted responses sorted by confidence.

public String toString ()

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

Updated Feb 21, 2025

Get help quickly with Firebase support. Read our FAQs, Release notes, and guides, ask the community, then get direct support from the Firebase team.

Updated Oct 3, 2024

The Admin SDK lets you interact with Firebase from your server environment to perform actions like generating and verifying Firebase auth tokens, reading and writing to Realtime Database, and so on.

Updated Jul 29, 2022