NeighborhoodSummary

public abstract class NeighborhoodSummary extends AiSummary implements Parcelable


Represents a summary of a neighborhood.

Summary

Nested types

public abstract class NeighborhoodSummary.Builder

Builder for NeighborhoodSummary.

Public constructors

Public methods

static NeighborhoodSummary.Builder

Returns a Builder.

abstract @Nullable ContentBlock

The detailed description of the neighborhood.

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 ContentBlock

The overview summary of the neighborhood.

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

NeighborhoodSummary

public NeighborhoodSummary()

Public methods

builder

public static NeighborhoodSummary.Builder builder()

Returns a Builder.

getDescription

public abstract @Nullable ContentBlock getDescription()

The detailed description of the neighborhood.

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.

getOverview

public abstract @Nullable ContentBlock getOverview()

The overview summary of the neighborhood.