ContentBlock

public abstract class ContentBlock implements Parcelable


Represents a block of content.

Summary

Nested types

public abstract class ContentBlock.Builder

Builder for ContentBlock.

Public constructors

Public methods

static ContentBlock.Builder

Returns a Builder.

abstract @Nullable String

The content of the block.

abstract @Nullable String

The language code of the content.

abstract @Nullable List<String>

The list of ids of the referenced places.

abstract @Nullable List<String>

The list of resource names of the referenced places.

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

ContentBlock

public ContentBlock()

Public methods

builder

public static ContentBlock.Builder builder()

Returns a Builder.

getContent

public abstract @Nullable String getContent()

The content of the block.

getContentLanguageCode

public abstract @Nullable String getContentLanguageCode()

The language code of the content.

getReferencedPlaceIds

public abstract @Nullable List<StringgetReferencedPlaceIds()

The list of ids of the referenced places.

getReferencedPlaceResourceNames

public abstract @Nullable List<StringgetReferencedPlaceResourceNames()

The list of resource names of the referenced places.