# ComplicationManager

Summary: [Methods](https://developer.android.com/reference/android/support/wearable/complications/ComplicationManager#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/support/wearable/complications/ComplicationManager#inhmethods)  

# ComplicationManager


`
public


class
ComplicationManager
`


`

extends `[Object](http://developer.android.com/reference/java/lang/Object.html)`


`

`


`

|---|------------------------------------------------------------|
| [java.lang.Object](http://developer.android.com/reference/java/lang/Object.html) ||
| ↳ | android.support.wearable.complications.ComplicationManager |

<br />

*** ** * ** ***


**This class is deprecated.**   

use the [Jetpack Wear
Watch Face](https://developer.android.com/jetpack/androidx/releases/wear-watchface) libraries instead.

Allows providers to interact with the complications system.

Providers will receive an instance of this class in calls to [onComplicationActivated](https://developer.android.com/reference/android/support/wearable/complications/ComplicationProviderService.html#onComplicationActivated(int,%20int,%20android.support.wearable.complications.ComplicationManager)) and [onComplicationUpdate](https://developer.android.com/reference/android/support/wearable/complications/ComplicationProviderService.html#onComplicationUpdate(int,%20int,%20android.support.wearable.complications.ComplicationManager)).

## Summary

|                                                                                                                                                                                                                   ### Public methods                                                                                                                                                                                                                   ||
|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` void` | ` `[noUpdateRequired](https://developer.android.com/reference/android/support/wearable/complications/ComplicationManager.html#noUpdateRequired(int))`(int complicationId) ` Informs the system that no update is required after an update request.                                                                                                                                                                                            |
| ` void` | ` `[updateComplicationData](https://developer.android.com/reference/android/support/wearable/complications/ComplicationManager.html#updateComplicationData(int,%20android.support.wearable.complications.ComplicationData))`(int complicationId, `[ComplicationData](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html)` data) ` Updates complication data for the given `complicationId`. |

| ### Inherited methods |
|-----------------------|---|
| From class ` `[java.lang.Object](http://developer.android.com/reference/java/lang/Object.html)` ` |------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------| | ` `[Object](http://developer.android.com/reference/java/lang/Object.html)          | ` clone() `                                                                               | | ` boolean`                                                                         | ` equals(`[Object](http://developer.android.com/reference/java/lang/Object.html)` arg0) ` | | ` void`                                                                            | ` finalize() `                                                                            | | ` final `[Class](http://developer.android.com/reference/java/lang/Class.html)`<?>` | ` getClass() `                                                                            | | ` int`                                                                             | ` hashCode() `                                                                            | | ` final void`                                                                      | ` notify() `                                                                              | | ` final void`                                                                      | ` notifyAll() `                                                                           | | ` `[String](http://developer.android.com/reference/java/lang/String.html)          | ` toString() `                                                                            | | ` final void`                                                                      | ` wait(long arg0, int arg1) `                                                             | | ` final void`                                                                      | ` wait(long arg0) `                                                                       | | ` final void`                                                                      | ` wait() `                                                                                | ||

## Public methods

### noUpdateRequired

```
public void noUpdateRequired (int complicationId)
```

Informs the system that no update is required after an update request. This means that the
complication will continue to display the previous value, which may be TYPE_NO_DATA if no data
has ever been sent.

A provider service should always call either this method or [updateComplicationData(int, ComplicationData)](https://developer.android.com/reference/android/support/wearable/complications/ComplicationManager.html#updateComplicationData(int,%20android.support.wearable.complications.ComplicationData))
in response to an update request from the system.

<br />

|           Parameters           ||
|------------------|--------------|
| `complicationId` | `int` <br /> |

### updateComplicationData

```
public void updateComplicationData (int complicationId, 
                ComplicationData data)
```

Updates complication data for the given `complicationId`. The type of data provided must
either match the configured type for the given complication, or should be of [TYPE_NO_DATA](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_NO_DATA).

If no update is required (meaning that the complication will continue to display the
previous value, which may be TYPE_NO_DATA if no data has ever been sent), then null may be
passed as the data ([noUpdateRequired(int)](https://developer.android.com/reference/android/support/wearable/complications/ComplicationManager.html#noUpdateRequired(int)) may be called to have the same effect).

A provider service should always call either this method or [noUpdateRequired(int)](https://developer.android.com/reference/android/support/wearable/complications/ComplicationManager.html#noUpdateRequired(int)) in
response to an update request from the system.

<br />

|                 Parameters                  ||
|------------------|---------------------------|
| `complicationId` | `int` <br />              |
| `data`           | `ComplicationData` <br /> |