Package apple.uikit.protocol
Interface UIConfigurationState
-
- All Superinterfaces:
NSCoding,NSCopying,NSSecureCoding
- All Known Implementing Classes:
UICellConfigurationState,UIContentUnavailableConfigurationState,UIViewConfigurationState
public interface UIConfigurationState extends NSCopying, NSSecureCoding
API-Since: 14.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable java.lang.ObjectcustomStateForKey(@NotNull java.lang.String key)Returns the custom state for the specified key.@NotNull UIConfigurationStateinitWithTraitCollection(@NotNull UITraitCollection traitCollection)Returns a new instance with the specified trait collection.@Nullable java.lang.ObjectobjectForKeyedSubscript(@NotNull java.lang.String key)voidsetCustomStateForKey(@Nullable java.lang.Object customState, @NotNull java.lang.String key)Sets the custom state for the specified key.voidsetObjectForKeyedSubscript(@Nullable java.lang.Object obj, @NotNull java.lang.String key)voidsetTraitCollection(@NotNull UITraitCollection value)@NotNull UITraitCollectiontraitCollection()-
Methods inherited from interface apple.foundation.protocol.NSCoding
encodeWithCoder, initWithCoder
-
Methods inherited from interface apple.foundation.protocol.NSCopying
copyWithZone
-
Methods inherited from interface apple.foundation.protocol.NSSecureCoding
_supportsSecureCoding
-
-
-
-
Method Detail
-
customStateForKey
@Nullable @Nullable java.lang.Object customStateForKey(@NotNull @NotNull java.lang.String key)Returns the custom state for the specified key.
-
initWithTraitCollection
@NotNull @NotNull UIConfigurationState initWithTraitCollection(@NotNull @NotNull UITraitCollection traitCollection)
Returns a new instance with the specified trait collection.
-
objectForKeyedSubscript
@Nullable @Nullable java.lang.Object objectForKeyedSubscript(@NotNull @NotNull java.lang.String key)
-
setCustomStateForKey
void setCustomStateForKey(@Nullable @Nullable java.lang.Object customState, @NotNull @NotNull java.lang.String key)Sets the custom state for the specified key.
-
setObjectForKeyedSubscript
void setObjectForKeyedSubscript(@Nullable @Nullable java.lang.Object obj, @NotNull @NotNull java.lang.String key)
-
setTraitCollection
void setTraitCollection(@NotNull @NotNull UITraitCollection value)
-
traitCollection
@NotNull @NotNull UITraitCollection traitCollection()
-
-