ReviewSummary

public abstract class ReviewSummary extends AiSummary implements Parcelable


Represents the AI-generated summary of the place using user reviews.

Summary

Nested types

public abstract class ReviewSummary.Builder

Builder for ReviewSummary.

Public constructors

Public methods

static ReviewSummary.Builder

Returns a Builder.

abstract @Nullable String

Returns the AI disclosure message "Summarized with Gemini".

abstract @Nullable String

Returns the disclosure text's language code, if available.

abstract @Nullable Uri

Returns the URI to flag a problem with the summary.

abstract @Nullable Uri

Returns the URI to show reviews of this place on Google Maps.

abstract @Nullable String

The summary of user reviews.

abstract @Nullable String

The language code of the summary, if available.

Inherited Constants

From android.os.Parcelable
static final int
static final int
static final int
static final int

Inherited methods

From android.os.Parcelable
abstract int
int
abstract void
writeToParcel(Parcel p, int p1)

Public constructors

ReviewSummary

public ReviewSummary()

Public methods

builder

public static ReviewSummary.Builder builder()

Returns a Builder.

getDisclosureText

public abstract @Nullable String getDisclosureText()

Returns the AI disclosure message "Summarized with Gemini".

getDisclosureTextLanguageCode

public abstract @Nullable String getDisclosureTextLanguageCode()

Returns the disclosure text's language code, if available.

getFlagContentUri

public abstract @Nullable Uri getFlagContentUri()

Returns the URI to flag a problem with the summary.

getReviewsUri

public abstract @Nullable Uri getReviewsUri()

Returns the URI to show reviews of this place on Google Maps.

getText

public abstract @Nullable String getText()

The summary of user reviews.

getTextLanguageCode

public abstract @Nullable String getTextLanguageCode()

The language code of the summary, if available.