GenerativeSummary

public abstract class GenerativeSummary extends AiSummary implements Parcelable


Represents the AI-generated summary of the place.

Summary

Nested types

public abstract class GenerativeSummary.Builder

Builder for GenerativeSummary.

Public constructors

Public methods

static GenerativeSummary.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 overview summary.

abstract @Nullable String

Returns the overview of the place.

abstract @Nullable String

Returns the overview's language code, 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

GenerativeSummary

public GenerativeSummary()

Public methods

builder

public static GenerativeSummary.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 overview summary.

getOverview

public abstract @Nullable String getOverview()

Returns the overview of the place.

getOverviewLanguageCode

public abstract @Nullable String getOverviewLanguageCode()

Returns the overview's language code, if available.