PlaceDetailsCompactFragment.Content

public enum PlaceDetailsCompactFragment.Content extends Enum


Enumeration of all content types supported by PlaceDetailsCompactFragment. To configure what content is shown on the widget, pass in a list of Content values to the newInstance function of the widget. The name of the place is always shown and cannot be configured.

Summary

Public methods

final @NonNull PlaceDetailsCompactFragment.Content

Returns the enum constant of this type with the specified name.

final @NonNull PlaceDetailsCompactFragment.Content[]

Returns an array containing the constants of this enum type, in the order they're declared.

Public methods

valueOf

public final @NonNull PlaceDetailsCompactFragment.Content valueOf(@NonNull String value)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

public final @NonNull PlaceDetailsCompactFragment.Content[] values()

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.