AuthorAttribution

public abstract class AuthorAttribution implements Parcelable


Information about the author of the data.

The author attribution field is only supported by Places API (New). Please enable your API key for the Places API (New) in the Google Cloud Console to access the data.

Summary

Nested types

public abstract class AuthorAttribution.Builder

Builder for AuthorAttribution.

Public constructors

Public methods

static AuthorAttribution.Builder

Returns a AuthorAttribution.Builder.

abstract String

Returns the name of the author.

abstract @Nullable String

Returns the profile photo URI of the author.

abstract @Nullable String

Returns the URI of the author.

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

AuthorAttribution

public AuthorAttribution()

Public methods

builder

public static AuthorAttribution.Builder builder(String name)

Returns a AuthorAttribution.Builder.

getName

public abstract String getName()

Returns the name of the author.

getPhotoUri

public abstract @Nullable String getPhotoUri()

Returns the profile photo URI of the author.

getUri

public abstract @Nullable String getUri()

Returns the URI of the author.