AdvancedPlaceListFragment.Content

public enum AdvancedPlaceListFragment.Content extends Enum


Enumeration of all content types supported by AdvancedPlaceListFragment. 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 EnumEntries<@NonNull AdvancedPlaceListFragment.Content>

Enumeration of all content types supported by AdvancedPlaceListFragment.

final @NonNull AdvancedPlaceListFragment.Content

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

final @NonNull AdvancedPlaceListFragment.Content[]

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

Public methods

getEntries

public final @NonNull EnumEntries<@NonNull AdvancedPlaceListFragment.ContentgetEntries()

Enumeration of all content types supported by AdvancedPlaceListFragment. 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.

valueOf

public final @NonNull AdvancedPlaceListFragment.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 AdvancedPlaceListFragment.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.