Package apple.uikit.protocol
Interface UIContentView
-
- All Known Implementing Classes:
UIContentUnavailableView,UIListContentView
public interface UIContentViewAPI-Since: 14.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @NotNull UIContentConfigurationconfiguration()Returns the current configuration of the view.voidsetConfiguration(@NotNull UIContentConfiguration value)Returns the current configuration of the view.default booleansupportsConfiguration(@NotNull UIContentConfiguration configuration)Whether this view is compatible with the provided configuration, meaning the view supports it being set to the `configuration` property and is capable of updating itself for the configuration.
-
-
-
Method Detail
-
configuration
@NotNull @NotNull UIContentConfiguration configuration()
Returns the current configuration of the view. Setting this property applies the new configuration to the view.
-
setConfiguration
void setConfiguration(@NotNull @NotNull UIContentConfiguration value)Returns the current configuration of the view. Setting this property applies the new configuration to the view.
-
supportsConfiguration
default boolean supportsConfiguration(@NotNull @NotNull UIContentConfiguration configuration)Whether this view is compatible with the provided configuration, meaning the view supports it being set to the `configuration` property and is capable of updating itself for the configuration. If not implemented, the view is assumed to be compatible with configuration classes that match the class of the view's existing configuration. API-Since: 16.0
-
-