ComplicationSlotBoundsType


public static class ComplicationSlotBoundsType


The various types of ComplicationSlot bounds.

use Watch Face Format instead

Summary

Constants

static final int

This field is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

static final int
EDGE = 2

This field is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

static final int

This field is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

Constants

BACKGROUND

Added in 1.2.0
Deprecated in 1.3.0-alpha06
public static final int BACKGROUND = 1

For a full screen image complication slot drawn behind the watch face. Note you can only have a single background complication slot.

EDGE

Added in 1.2.0
Deprecated in 1.3.0-alpha06
public static final int EDGE = 2

For edge of screen complication slots.

ROUND_RECT

Added in 1.2.0
Deprecated in 1.3.0-alpha06
public static final int ROUND_RECT = 0

The default, most complication slots are either circular or rounded rectangles.

Public fields

INSTANCE

Added in 1.2.0
Deprecated in 1.3.0-alpha06
public static @NonNull ComplicationSlotBoundsType INSTANCE