WatchFace.OverlayStyle

Added in 1.1.0
Deprecated in 1.2.0

public final class WatchFace.OverlayStyle


This class allows the watch face to configure the status overlay which is rendered by the system on top of the watch face.

Note: This is not a supported API and will be removed.

Summary

Public constructors

This method is deprecated. OverlayStyle will be removed in a future release.

OverlayStyle(Color backgroundColor, Color foregroundColor)

This method is deprecated. OverlayStyle will be removed in a future release.

Public methods

boolean
equals(Object other)

This method is deprecated. OverlayStyle will be removed in a future release.

final Color

This method is deprecated. OverlayStyle will be removed in a future release.

final Color

This method is deprecated. OverlayStyle will be removed in a future release.

int

This method is deprecated. OverlayStyle will be removed in a future release.

@NonNull String

This method is deprecated. OverlayStyle will be removed in a future release.

Public constructors

OverlayStyle

Added in 1.1.0
Deprecated in 1.2.0
public OverlayStyle()

OverlayStyle

Added in 1.1.0
Deprecated in 1.2.0
public OverlayStyle(Color backgroundColor, Color foregroundColor)

Public methods

equals

public boolean equals(Object other)

getBackgroundColor

Added in 1.1.0
Deprecated in 1.2.0
public final Color getBackgroundColor()

The background color of the status indicator tray. This can be any color, including Color.TRANSPARENT. If this is null then the system default will be used.

getForegroundColor

Added in 1.1.0
Deprecated in 1.2.0
public final Color getForegroundColor()

The background color of items rendered in the status indicator tray. If not null then this must be either Color.BLACK or Color.WHITE. If this is null then the system default will be used.

hashCode

public int hashCode()

toString

public @NonNull String toString()