# android.support.wear.ambient

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

# android.support.wear.ambient

| 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).

## Interfaces

|---------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|
| [AmbientMode.AmbientCallbackProvider](https://developer.android.com/reference/android/support/wear/ambient/AmbientMode.AmbientCallbackProvider)               | Interface for any[Activity](https://developer.android.com/reference/android/app/Activity.html)that wishes to implement Ambient Mode. |
| [AmbientModeSupport.AmbientCallbackProvider](https://developer.android.com/reference/android/support/wear/ambient/AmbientModeSupport.AmbientCallbackProvider) | Interface for any[Activity](https://developer.android.com/reference/android/app/Activity.html)that wishes to implement Ambient Mode. |

## Classes

|---------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [AmbientMode](https://developer.android.com/reference/android/support/wear/ambient/AmbientMode)                                                   | *This class was deprecated in API level 27.1.0. please use[AmbientModeSupport](https://developer.android.com/reference/android/support/wear/ambient/AmbientModeSupport)instead.* |
| [AmbientMode.AmbientCallback](https://developer.android.com/reference/android/support/wear/ambient/AmbientMode.AmbientCallback)                   | Callback to receive ambient mode state changes.                                                                                                                                  |
| [AmbientMode.AmbientController](https://developer.android.com/reference/android/support/wear/ambient/AmbientMode.AmbientController)               | A class for interacting with the ambient mode on a wearable device.                                                                                                              |
| [AmbientModeSupport](https://developer.android.com/reference/android/support/wear/ambient/AmbientModeSupport)                                     | Use this as a headless Fragment to add ambient support to an Activity on Wearable devices.                                                                                       |
| [AmbientModeSupport.AmbientCallback](https://developer.android.com/reference/android/support/wear/ambient/AmbientModeSupport.AmbientCallback)     | Callback to receive ambient mode state changes.                                                                                                                                  |
| [AmbientModeSupport.AmbientController](https://developer.android.com/reference/android/support/wear/ambient/AmbientModeSupport.AmbientController) | A class for interacting with the ambient mode on a wearable device.                                                                                                              |

-

  ## 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)