Added in [version 34.1](https://developer.android.com/topic/libraries/support-library/revisions) Summary: [Methods](https://developer.android.com/reference/com/google/wear/settings/WearSettings#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/com/google/wear/settings/WearSettings#inhmethods)

# WearSettings


`
public


class
WearSettings
`


`

extends Object


`

`


`

|---|---|
| java.lang.Object ||
| ↳ | com.google.wear.settings.WearSettings |

<br />

*** ** * ** ***

Collection of static constants/methods specific to Wear OS platform settings.

## Summary

| ### Public methods ||
|---|---|
| ` static boolean` | ` https://developer.android.com/reference/com/google/wear/settings/WearSettings#isDynamicColorThemingEnabled(android.content.Context)(Context context) ` Check if dynamic color theming is enabled. |
| ` static boolean` | ` https://developer.android.com/reference/com/google/wear/settings/WearSettings#isWristDetectionAutoLockingEnabled(android.content.Context)(Context context) ` Check if wrist-detection auto-locking is enabled. |

| ### Inherited methods |
|---|---|
| From class ` java.lang.Object ` |---|---| | ` Object` | ` clone() ` | | ` boolean` | ` equals(Object arg0) ` | | ` void` | ` finalize() ` | | ` final Class<?>` | ` getClass() ` | | ` int` | ` hashCode() ` | | ` final void` | ` notify() ` | | ` final void` | ` notifyAll() ` | | ` String` | ` toString() ` | | ` final void` | ` wait(long arg0, int arg1) ` | | ` final void` | ` wait(long arg0) ` | | ` final void` | ` wait() ` | ||

## Public methods

### isDynamicColorThemingEnabled

Added in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static boolean isDynamicColorThemingEnabled (Context context)
```

Check if dynamic color theming is enabled.

Dynamic color theming provides the ability to customize the system color palette by
overriding the default colors using an alternate set of colors specified via a user
selection. When enabled, dynamic color will automatically apply the selected color palette to
all applicable system surfaces. When not enabled, or when no user selection is provided, the
default set of colors is applied.

<br />

| Parameters ||
|---|---|
| `context` | `Context`: The application context used to check the state of the setting. <br /> |

| Returns ||
|---|---|
| `boolean` | `true` if dynamic color is enabled, otherwise `false`. <br /> |

### isWristDetectionAutoLockingEnabled

Added in [version 34.1](https://developer.android.com/topic/libraries/support-library/revisions)

```
public static boolean isWristDetectionAutoLockingEnabled (Context context)
```

Check if wrist-detection auto-locking is enabled.

Wrist Detection Auto-Locking ensures the device will automatically lock when it detects
that it is off wrist. When disabled, device will not automatically lock. This method may be
helpful when an application wants to know whether a user accessing the application
constitutes authentication or not.

<br />

| Parameters ||
|---|---|
| `context` | `Context`: The application context used to check the state of the setting. <br /> |

| Returns ||
|---|---|
| `boolean` | `true` if auto-locking is enabled, otherwise `false`. <br /> |