OverlayStyle
class OverlayStyle
This class reflects a snapshot of androidx.wear.watchface.WatchFace.OverlayStyle.
Note while this plumbing got built, it was never used by the system ui on any platform and it will be removed.
Summary
Public constructors |
|---|
|
This function is deprecated. OverlayStyle will be removed in a future release. |
This function is deprecated. OverlayStyle will be removed in a future release. |
Public functions |
|
|---|---|
open operator Boolean |
This function is deprecated. OverlayStyle will be removed in a future release. |
open Int |
This function is deprecated. OverlayStyle will be removed in a future release. |
open String |
This function is deprecated. OverlayStyle will be removed in a future release. |
Public properties |
|
|---|---|
Color? |
This property is deprecated. OverlayStyle will be removed in a future release. |
Color? |
This property is deprecated. OverlayStyle will be removed in a future release. |
Public constructors
OverlayStyle()Default constructor when when there's no data available. E.g. when dealing with an old watch face.
Public functions
Public properties
val backgroundColor: Color?
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.
val foregroundColor: Color?
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.