ComplicationDisplayPolicies


public static class ComplicationDisplayPolicies


The policies that control when complications should be displayed.

Summary

Constants

static final int

The default policy is that the complication should always be shown.

static final int

Instructs the system not to display the complication while the device is locked.

Constants

ALWAYS_DISPLAY

Added in 1.2.0
public static final int ALWAYS_DISPLAY = 0

The default policy is that the complication should always be shown.

DO_NOT_SHOW_WHEN_DEVICE_LOCKED

Added in 1.2.0
public static final int DO_NOT_SHOW_WHEN_DEVICE_LOCKED = 1

Instructs the system not to display the complication while the device is locked.

Public fields

INSTANCE

Added in 1.2.0
public static @NonNull ComplicationDisplayPolicies INSTANCE