WatchFaceLayer
public enum WatchFaceLayer extends Enum
Describes part of watchface. Used as a parameter for rendering.
use Watch Face Format instead
Summary
Enum Values |
|
---|---|
BASE |
This enum value is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
COMPLICATIONS |
This enum value is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
COMPLICATIONS_OVERLAY |
This enum value is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
Public fields |
|
---|---|
static final @NonNull Set<@NonNull WatchFaceLayer> |
This field is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
Public methods |
|
---|---|
final @NonNull EnumEntries<@NonNull WatchFaceLayer> |
This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
final @NonNull WatchFaceLayer |
This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
final @NonNull WatchFaceLayer[] |
This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
Enum Values
BASE
WatchFaceLayer WatchFaceLayer.BASE
The watch excluding complications and anything that may render on top of complications.
COMPLICATIONS_OVERLAY
WatchFaceLayer WatchFaceLayer.COMPLICATIONS_OVERLAY
Any parts of the watch that may render on top of complications, e.g. watch hands.
Public fields
ALL_WATCH_FACE_LAYERS
public static final @NonNull Set<@NonNull WatchFaceLayer> ALL_WATCH_FACE_LAYERS
A Set
of all WatchFaceLayer
s.
Public methods
getEntries
public final @NonNull EnumEntries<@NonNull WatchFaceLayer>getEntries()
Describes part of watchface. Used as a parameter for rendering.
use Watch Face Format instead
valueOf
public final @NonNull WatchFaceLayervalueOf(@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 |