added in [version 27.1.0](https://developer.android.com/topic/libraries/support-library/revisions)   
belongs to Maven artifact com.android.support:wear:28.0.0-alpha1   
Deprecated since version 27.1.0 Summary: [Nested Classes](https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#nestedclasses) \| [Constants](https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#constants) \| [Inherited Constants](https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#inhconstants) \| [Ctors](https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#pubctors) \| [Methods](https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#inhmethods) \| [\[Expand All\]](https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#)

# AmbientMode

| This package is part of the Android [support library](https://developer.android.com/topic/libraries/support-library) which is no longer maintained. The support library has been superseded by [AndroidX](https://developer.android.com/jetpack/androidx) which is part of [Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider [migrating](https://developer.android.com/jetpack/androidx/migrate) existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library [class
| mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).


`
public

final

class
AmbientMode
`


`


`

`

extends https://developer.android.com/reference/android/app/Fragment.html


`

`


`

|---|---|---|
| java.lang.Object |||
| ↳ | [android.app.Fragment](https://developer.android.com/reference/android/app/Fragment.html) ||
|   | ↳ | android.support.wear.ambient.AmbientMode |

<br />

*** ** * ** ***


**This class was deprecated
in API level 27.1.0.**   

please use `https://developer.android.com/reference/android/support/wear/ambient/AmbientModeSupport` instead.

Use this as a headless Fragment to add ambient support to an Activity on Wearable devices.


The application that uses this should add the `https://developer.android.com/reference/android/Manifest.permission#WAKE_LOCK`
permission to its manifest.


The primary entry point for this code is the `https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#attachAmbientSupport(T)` method.
It should be called with an `https://developer.android.com/reference/android/app/Activity.html` as an argument and that `https://developer.android.com/reference/android/app/Activity.html` will then
be able to receive ambient lifecycle events through an `https://developer.android.com/reference/android/support/wear/ambient/AmbientMode.AmbientCallback`. The
`https://developer.android.com/reference/android/app/Activity.html` will also receive a `https://developer.android.com/reference/android/support/wear/ambient/AmbientMode.AmbientController` object from the attachment which
can be used to query the current status of the ambient mode.
An example of how to attach `https://developer.android.com/reference/android/support/wear/ambient/AmbientMode` to your `https://developer.android.com/reference/android/app/Activity.html` and use
the `https://developer.android.com/reference/android/support/wear/ambient/AmbientMode.AmbientController` can be found below:


    AmbientMode.AmbientController controller = AmbientMode.attachAmbientSupport(this);
         boolean isAmbient =  controller.isAmbient();
     
<br />

## Summary

| ### Nested classes ||
|---|---|
| ` class` | `https://developer.android.com/reference/android/support/wear/ambient/AmbientMode.AmbientCallback` Callback to receive ambient mode state changes. |
| ` interface` | `https://developer.android.com/reference/android/support/wear/ambient/AmbientMode.AmbientCallbackProvider` Interface for any `https://developer.android.com/reference/android/app/Activity.html` that wishes to implement Ambient Mode. |
| ` class` | `https://developer.android.com/reference/android/support/wear/ambient/AmbientMode.AmbientController` A class for interacting with the ambient mode on a wearable device. |

| ### Constants ||
|---|---|
| `String` | `https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#EXTRA_BURN_IN_PROTECTION` Property in bundle passed to `AmbientCallback#onEnterAmbient(Bundle)` to indicate whether burn-in protection is required. |
| `String` | `https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#EXTRA_LOWBIT_AMBIENT` Property in bundle passed to `AmbientCallback#onEnterAmbient(Bundle)` to indicate whether the device has low-bit ambient mode. |
| `String` | `https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#FRAGMENT_TAG` Fragment tag used by default when adding `https://developer.android.com/reference/android/support/wear/ambient/AmbientMode` to add ambient support to an `https://developer.android.com/reference/android/app/Activity.html`. |

| ### Inherited constants |
|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#)From interface ` android.content.ComponentCallbacks2 ` |---|---| | `int` | `TRIM_MEMORY_BACKGROUND` | | `int` | `TRIM_MEMORY_COMPLETE` | | `int` | `TRIM_MEMORY_MODERATE` | | `int` | `TRIM_MEMORY_RUNNING_CRITICAL` | | `int` | `TRIM_MEMORY_RUNNING_LOW` | | `int` | `TRIM_MEMORY_RUNNING_MODERATE` | | `int` | `TRIM_MEMORY_UI_HIDDEN` | |

| ### Public constructors ||
|---|---|
| ` https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#AmbientMode()() ` Constructor |

| ### Public methods ||
|---|---|
| ` static <T extends https://developer.android.com/reference/android/app/Activity.html> https://developer.android.com/reference/android/support/wear/ambient/AmbientMode.AmbientController` | ` https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#attachAmbientSupport(T)(T activity) ` Attach ambient support to the given activity. |
| ` void` | ` https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#dump(java.lang.String, java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[])(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) ` |
| ` void` | ` https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#onAttach(android.content.Context)(https://developer.android.com/reference/android/content/Context.html context) ` |
| ` void` | ` https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#onCreate(android.os.Bundle)(https://developer.android.com/reference/android/os/Bundle.html savedInstanceState) ` |
| ` void` | ` https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#onDestroy()() ` |
| ` void` | ` https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#onDetach()() ` |
| ` void` | ` https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#onPause()() ` |
| ` void` | ` https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#onResume()() ` |
| ` void` | ` https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#onStop()() ` |

| ### Inherited methods |
|---|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#)From class ` https://developer.android.com/reference/android/app/Fragment.html ` |---|---| | ` void` | ` dump(String arg0, FileDescriptor arg1, PrintWriter arg2, String[] arg3) ` | | ` final boolean` | ` equals(Object arg0) ` | | ` final https://developer.android.com/reference/android/app/Activity.html` | ` getActivity() ` | | ` boolean` | ` getAllowEnterTransitionOverlap() ` | | ` boolean` | ` getAllowReturnTransitionOverlap() ` | | ` final https://developer.android.com/reference/android/os/Bundle.html` | ` getArguments() ` | | ` final https://developer.android.com/reference/android/app/FragmentManager.html` | ` getChildFragmentManager() ` | | ` https://developer.android.com/reference/android/content/Context.html` | ` getContext() ` | | ` https://developer.android.com/reference/android/transition/Transition.html` | ` getEnterTransition() ` | | ` https://developer.android.com/reference/android/transition/Transition.html` | ` getExitTransition() ` | | ` final https://developer.android.com/reference/android/app/FragmentManager.html` | ` getFragmentManager() ` | | ` final Object` | ` getHost() ` | | ` final int` | ` getId() ` | | ` final https://developer.android.com/reference/android/view/LayoutInflater.html` | ` getLayoutInflater() ` | | ` https://developer.android.com/reference/android/app/LoaderManager.html` | ` getLoaderManager() ` | | ` final https://developer.android.com/reference/android/app/Fragment.html` | ` getParentFragment() ` | | ` https://developer.android.com/reference/android/transition/Transition.html` | ` getReenterTransition() ` | | ` final https://developer.android.com/reference/android/content/res/Resources.html` | ` getResources() ` | | ` final boolean` | ` getRetainInstance() ` | | ` https://developer.android.com/reference/android/transition/Transition.html` | ` getReturnTransition() ` | | ` https://developer.android.com/reference/android/transition/Transition.html` | ` getSharedElementEnterTransition() ` | | ` https://developer.android.com/reference/android/transition/Transition.html` | ` getSharedElementReturnTransition() ` | | ` final String` | ` getString(int arg0, Object... arg1) ` | | ` final String` | ` getString(int arg0) ` | | ` final String` | ` getTag() ` | | ` final https://developer.android.com/reference/android/app/Fragment.html` | ` getTargetFragment() ` | | ` final int` | ` getTargetRequestCode() ` | | ` final CharSequence` | ` getText(int arg0) ` | | ` boolean` | ` getUserVisibleHint() ` | | ` https://developer.android.com/reference/android/view/View.html` | ` getView() ` | | ` final int` | ` hashCode() ` | | ` static https://developer.android.com/reference/android/app/Fragment.html` | ` instantiate(https://developer.android.com/reference/android/content/Context.html arg0, String arg1) ` | | ` static https://developer.android.com/reference/android/app/Fragment.html` | ` instantiate(https://developer.android.com/reference/android/content/Context.html arg0, String arg1, https://developer.android.com/reference/android/os/Bundle.html arg2) ` | | ` final boolean` | ` isAdded() ` | | ` final boolean` | ` isDetached() ` | | ` final boolean` | ` isHidden() ` | | ` final boolean` | ` isInLayout() ` | | ` final boolean` | ` isRemoving() ` | | ` final boolean` | ` isResumed() ` | | ` final boolean` | ` isStateSaved() ` | | ` final boolean` | ` isVisible() ` | | ` void` | ` onActivityCreated(https://developer.android.com/reference/android/os/Bundle.html arg0) ` | | ` void` | ` onActivityResult(int arg0, int arg1, https://developer.android.com/reference/android/content/Intent.html arg2) ` | | ` void` | ` onAttach(https://developer.android.com/reference/android/app/Activity.html arg0) ` | | ` void` | ` onAttach(https://developer.android.com/reference/android/content/Context.html arg0) ` | | ` void` | ` onAttachFragment(https://developer.android.com/reference/android/app/Fragment.html arg0) ` | | ` void` | ` onConfigurationChanged(https://developer.android.com/reference/android/content/res/Configuration.html arg0) ` | | ` boolean` | ` onContextItemSelected(https://developer.android.com/reference/android/view/MenuItem.html arg0) ` | | ` void` | ` onCreate(https://developer.android.com/reference/android/os/Bundle.html arg0) ` | | ` https://developer.android.com/reference/android/animation/Animator.html` | ` onCreateAnimator(int arg0, boolean arg1, int arg2) ` | | ` void` | ` onCreateContextMenu(https://developer.android.com/reference/android/view/ContextMenu.html arg0, https://developer.android.com/reference/android/view/View.html arg1, https://developer.android.com/reference/android/view/ContextMenu.ContextMenuInfo.html arg2) ` | | ` void` | ` onCreateOptionsMenu(https://developer.android.com/reference/android/view/Menu.html arg0, https://developer.android.com/reference/android/view/MenuInflater.html arg1) ` | | ` https://developer.android.com/reference/android/view/View.html` | ` onCreateView(https://developer.android.com/reference/android/view/LayoutInflater.html arg0, https://developer.android.com/reference/android/view/ViewGroup.html arg1, https://developer.android.com/reference/android/os/Bundle.html arg2) ` | | ` void` | ` onDestroy() ` | | ` void` | ` onDestroyOptionsMenu() ` | | ` void` | ` onDestroyView() ` | | ` void` | ` onDetach() ` | | ` https://developer.android.com/reference/android/view/LayoutInflater.html` | ` onGetLayoutInflater(https://developer.android.com/reference/android/os/Bundle.html arg0) ` | | ` void` | ` onHiddenChanged(boolean arg0) ` | | ` void` | ` onInflate(https://developer.android.com/reference/android/util/AttributeSet.html arg0, https://developer.android.com/reference/android/os/Bundle.html arg1) ` | | ` void` | ` onInflate(https://developer.android.com/reference/android/app/Activity.html arg0, https://developer.android.com/reference/android/util/AttributeSet.html arg1, https://developer.android.com/reference/android/os/Bundle.html arg2) ` | | ` void` | ` onInflate(https://developer.android.com/reference/android/content/Context.html arg0, https://developer.android.com/reference/android/util/AttributeSet.html arg1, https://developer.android.com/reference/android/os/Bundle.html arg2) ` | | ` void` | ` onLowMemory() ` | | ` void` | ` onMultiWindowModeChanged(boolean arg0) ` | | ` void` | ` onMultiWindowModeChanged(boolean arg0, https://developer.android.com/reference/android/content/res/Configuration.html arg1) ` | | ` boolean` | ` onOptionsItemSelected(https://developer.android.com/reference/android/view/MenuItem.html arg0) ` | | ` void` | ` onOptionsMenuClosed(https://developer.android.com/reference/android/view/Menu.html arg0) ` | | ` void` | ` onPause() ` | | ` void` | ` onPictureInPictureModeChanged(boolean arg0, https://developer.android.com/reference/android/content/res/Configuration.html arg1) ` | | ` void` | ` onPictureInPictureModeChanged(boolean arg0) ` | | ` void` | ` onPrepareOptionsMenu(https://developer.android.com/reference/android/view/Menu.html arg0) ` | | ` void` | ` onRequestPermissionsResult(int arg0, String[] arg1, int[] arg2) ` | | ` void` | ` onResume() ` | | ` void` | ` onSaveInstanceState(https://developer.android.com/reference/android/os/Bundle.html arg0) ` | | ` void` | ` onStart() ` | | ` void` | ` onStop() ` | | ` void` | ` onTrimMemory(int arg0) ` | | ` void` | ` onViewCreated(https://developer.android.com/reference/android/view/View.html arg0, https://developer.android.com/reference/android/os/Bundle.html arg1) ` | | ` void` | ` onViewStateRestored(https://developer.android.com/reference/android/os/Bundle.html arg0) ` | | ` void` | ` postponeEnterTransition() ` | | ` void` | ` registerForContextMenu(https://developer.android.com/reference/android/view/View.html arg0) ` | | ` final void` | ` requestPermissions(String[] arg0, int arg1) ` | | ` void` | ` setAllowEnterTransitionOverlap(boolean arg0) ` | | ` void` | ` setAllowReturnTransitionOverlap(boolean arg0) ` | | ` void` | ` setArguments(https://developer.android.com/reference/android/os/Bundle.html arg0) ` | | ` void` | ` setEnterSharedElementCallback(https://developer.android.com/reference/android/app/SharedElementCallback.html arg0) ` | | ` void` | ` setEnterTransition(https://developer.android.com/reference/android/transition/Transition.html arg0) ` | | ` void` | ` setExitSharedElementCallback(https://developer.android.com/reference/android/app/SharedElementCallback.html arg0) ` | | ` void` | ` setExitTransition(https://developer.android.com/reference/android/transition/Transition.html arg0) ` | | ` void` | ` setHasOptionsMenu(boolean arg0) ` | | ` void` | ` setInitialSavedState(https://developer.android.com/reference/android/app/Fragment.SavedState.html arg0) ` | | ` void` | ` setMenuVisibility(boolean arg0) ` | | ` void` | ` setReenterTransition(https://developer.android.com/reference/android/transition/Transition.html arg0) ` | | ` void` | ` setRetainInstance(boolean arg0) ` | | ` void` | ` setReturnTransition(https://developer.android.com/reference/android/transition/Transition.html arg0) ` | | ` void` | ` setSharedElementEnterTransition(https://developer.android.com/reference/android/transition/Transition.html arg0) ` | | ` void` | ` setSharedElementReturnTransition(https://developer.android.com/reference/android/transition/Transition.html arg0) ` | | ` void` | ` setTargetFragment(https://developer.android.com/reference/android/app/Fragment.html arg0, int arg1) ` | | ` void` | ` setUserVisibleHint(boolean arg0) ` | | ` boolean` | ` shouldShowRequestPermissionRationale(String arg0) ` | | ` void` | ` startActivity(https://developer.android.com/reference/android/content/Intent.html arg0) ` | | ` void` | ` startActivity(https://developer.android.com/reference/android/content/Intent.html arg0, https://developer.android.com/reference/android/os/Bundle.html arg1) ` | | ` void` | ` startActivityForResult(https://developer.android.com/reference/android/content/Intent.html arg0, int arg1) ` | | ` void` | ` startActivityForResult(https://developer.android.com/reference/android/content/Intent.html arg0, int arg1, https://developer.android.com/reference/android/os/Bundle.html arg2) ` | | ` void` | ` startIntentSenderForResult(https://developer.android.com/reference/android/content/IntentSender.html arg0, int arg1, https://developer.android.com/reference/android/content/Intent.html arg2, int arg3, int arg4, int arg5, https://developer.android.com/reference/android/os/Bundle.html arg6) ` | | ` void` | ` startPostponedEnterTransition() ` | | ` String` | ` toString() ` | | ` void` | ` unregisterForContextMenu(https://developer.android.com/reference/android/view/View.html arg0) ` | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#)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() ` | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#)From interface ` https://developer.android.com/reference/android/content/ComponentCallbacks2.html ` |---|---| | ` abstract void` | ` onTrimMemory(int arg0) ` | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#)From interface ` https://developer.android.com/reference/android/view/View.OnCreateContextMenuListener.html ` |---|---| | ` abstract void` | ` onCreateContextMenu(https://developer.android.com/reference/android/view/ContextMenu.html arg0, https://developer.android.com/reference/android/view/View.html arg1, https://developer.android.com/reference/android/view/ContextMenu.ContextMenuInfo.html arg2) ` | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/wear/ambient/AmbientMode#)From interface ` https://developer.android.com/reference/android/content/ComponentCallbacks.html ` |---|---| | ` abstract void` | ` onConfigurationChanged(https://developer.android.com/reference/android/content/res/Configuration.html arg0) ` | | ` abstract void` | ` onLowMemory() ` | ||

## Constants

### EXTRA_BURN_IN_PROTECTION

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

```
String EXTRA_BURN_IN_PROTECTION
```

Property in bundle passed to `AmbientCallback#onEnterAmbient(Bundle)` to indicate
whether burn-in protection is required. When this property is set to true, views must be
shifted around periodically in ambient mode. To ensure that content isn't shifted off
the screen, avoid placing content within 10 pixels of the edge of the screen. Activities
should also avoid solid white areas to prevent pixel burn-in. Both of these requirements
only apply in ambient mode, and only when this property is set to true.

<br />

Constant Value:

"com.google.android.wearable.compat.extra.BURN_IN_PROTECTION"


### EXTRA_LOWBIT_AMBIENT

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

```
String EXTRA_LOWBIT_AMBIENT
```

Property in bundle passed to `AmbientCallback#onEnterAmbient(Bundle)` to indicate
whether the device has low-bit ambient mode. When this property is set to true, the screen
supports fewer bits for each color in ambient mode. In this case, activities should disable
anti-aliasing in ambient mode.

<br />

Constant Value:

"com.google.android.wearable.compat.extra.LOWBIT_AMBIENT"


### FRAGMENT_TAG

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

```
String FRAGMENT_TAG
```

Fragment tag used by default when adding `https://developer.android.com/reference/android/support/wear/ambient/AmbientMode` to add ambient support to an
`https://developer.android.com/reference/android/app/Activity.html`.

<br />

Constant Value:

"android.support.wearable.ambient.AmbientMode"


## Public constructors

### AmbientMode

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

```
AmbientMode ()
```

Constructor

<br />

## Public methods

### attachAmbientSupport

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

```
AmbientMode.AmbientController attachAmbientSupport (T activity)
```

Attach ambient support to the given activity. Calling this method with an Activity
implementing the `https://developer.android.com/reference/android/support/wear/ambient/AmbientMode.AmbientCallbackProvider` interface will provide you with an
opportunity to react to ambient events such as `onEnterAmbient`. Alternatively,
you can call this method with an Activity which does not implement
the `https://developer.android.com/reference/android/support/wear/ambient/AmbientMode.AmbientCallbackProvider` interface and that will only enable the auto-resume
functionality. This is equivalent to providing (@code null} from
the `https://developer.android.com/reference/android/support/wear/ambient/AmbientMode.AmbientCallbackProvider`.

<br />

| Parameters ||
|---|---|
| `activity` | `T`: the activity to attach ambient support to. <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/support/wear/ambient/AmbientMode.AmbientController` | the associated `https://developer.android.com/reference/android/support/wear/ambient/AmbientMode.AmbientController` which can be used to query the state of ambient mode. <br /> |

### dump

```
void dump (String prefix, 
                FileDescriptor fd, 
                PrintWriter writer, 
                String[] args)
```

<br />

<br />

| Parameters ||
|---|---|
| `prefix` | `String` <br /> |
| `fd` | `FileDescriptor` <br /> |
| `writer` | `PrintWriter` <br /> |
| `args` | `String` <br /> |

### onAttach

```
void onAttach (Context context)
```

<br />

<br />

| Parameters ||
|---|---|
| `context` | `Context` <br /> |

### onCreate

```
void onCreate (Bundle savedInstanceState)
```

<br />

<br />

| Parameters ||
|---|---|
| `savedInstanceState` | `Bundle` <br /> |

### onDestroy

```
void onDestroy ()
```

<br />

<br />

### onDetach

```
void onDetach ()
```

<br />

<br />

### onPause

```
void onPause ()
```

<br />

<br />

### onResume

```
void onResume ()
```

<br />

<br />

### onStop

```
void onStop ()
```

<br />

<br />

-

  ## Interfaces

  - [AmbientMode.AmbientCallbackProvider](https://developer.android.com/reference/android/support/wear/ambient/AmbientMode.AmbientCallbackProvider)
  - [AmbientModeSupport.AmbientCallbackProvider](https://developer.android.com/reference/android/support/wear/ambient/AmbientModeSupport.AmbientCallbackProvider)
-

  ## Classes

  - [AmbientMode](https://developer.android.com/reference/android/support/wear/ambient/AmbientMode)
  - [AmbientMode.AmbientCallback](https://developer.android.com/reference/android/support/wear/ambient/AmbientMode.AmbientCallback)
  - [AmbientMode.AmbientController](https://developer.android.com/reference/android/support/wear/ambient/AmbientMode.AmbientController)
  - [AmbientModeSupport](https://developer.android.com/reference/android/support/wear/ambient/AmbientModeSupport)
  - [AmbientModeSupport.AmbientCallback](https://developer.android.com/reference/android/support/wear/ambient/AmbientModeSupport.AmbientCallback)
  - [AmbientModeSupport.AmbientController](https://developer.android.com/reference/android/support/wear/ambient/AmbientModeSupport.AmbientController)