# SystemProviders

Summary:[Nested Classes](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders#nestedclasses)\|[Constants](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders#constants)\|[Ctors](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders#pubctors)\|[Inherited Methods](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders#inhmethods)  

# SystemProviders

`
public


class
SystemProviders
`  
`

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

<br />

*** ** * ** ***

<br />

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

Methods to retrieve the component names for system complication providers. This will allow these providers to be used as defaults by watch faces.

## Summary

|                                                                                                                                                   ### Nested classes                                                                                                                                                    ||
|---------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` @interface` | [SystemProviders.ProviderId](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders.ProviderId.html) *This @interface is deprecated. use the[Jetpack Wear Watch Face](https://developer.android.com/jetpack/androidx/releases/wear-watchface)libraries instead.* |

|                                                                                                                                                ### Constants                                                                                                                                                 ||
|-------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | [ANDROID_PAY](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders.html#ANDROID_PAY) *This constant is deprecated. Use[GOOGLE_PAY](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders.html#GOOGLE_PAY)instead.* |
| `int` | [APP_SHORTCUT](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders.html#APP_SHORTCUT) Id for the 'app shortcut' complication provider.                                                                                                                     |
| `int` | [DATE](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders.html#DATE) Id for the 'date' complication provider.                                                                                                                                             |
| `int` | [DAY_OF_WEEK](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders.html#DAY_OF_WEEK) Id for the 'day of week' complication provider.                                                                                                                        |
| `int` | [FAVORITE_CONTACT](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders.html#FAVORITE_CONTACT) Id for the 'favorite contact' complication provider.                                                                                                         |
| `int` | [GOOGLE_PAY](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders.html#GOOGLE_PAY) Id for the Google Pay complication provider.                                                                                                                             |
| `int` | [MOST_RECENT_APP](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders.html#MOST_RECENT_APP) Id for the 'most recent app' complication provider.                                                                                                            |
| `int` | [NEXT_EVENT](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders.html#NEXT_EVENT) Id for the 'next event' complication provider.                                                                                                                           |
| `int` | [RETAIL_CHAT](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders.html#RETAIL_CHAT) Id for the 'retail mode chat' complication provider.                                                                                                                   |
| `int` | [RETAIL_STEP_COUNT](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders.html#RETAIL_STEP_COUNT) Id for the 'retail mode step count' complication provider.                                                                                                 |
| `int` | [STEP_COUNT](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders.html#STEP_COUNT) Id for the 'step count' complication provider.                                                                                                                           |
| `int` | [SUNRISE_SUNSET](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders.html#SUNRISE_SUNSET) Id for the 'sunrise sunset' complication provider.                                                                                                               |
| `int` | [TIME_AND_DATE](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders.html#TIME_AND_DATE) Id for the 'time and date' complication provider.                                                                                                                  |
| `int` | [UNREAD_NOTIFICATION_COUNT](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders.html#UNREAD_NOTIFICATION_COUNT) Id for the 'unread notification count' complication provider.                                                                              |
| `int` | [WATCH_BATTERY](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders.html#WATCH_BATTERY) Id for the 'watch battery' complication provider.                                                                                                                  |
| `int` | [WORLD_CLOCK](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders.html#WORLD_CLOCK) Id for the 'world clock' complication provider.                                                                                                                        |

|                                                               ### Public constructors                                                               ||
|--------------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[SystemProviders](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders.html#SystemProviders())`() ` |

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

## Constants

### ANDROID_PAY

```
public static final int ANDROID_PAY
```

<br />

**This constant is deprecated.**   
Use[GOOGLE_PAY](https://developer.android.com/reference/android/support/wearable/complications/SystemProviders.html#GOOGLE_PAY)instead.

<br />

<br />

Constant Value: 8 (0x00000008)  

### APP_SHORTCUT

```
public static final int APP_SHORTCUT
```

Id for the 'app shortcut' complication provider. For use with[#setDefaultSystemComplicationProvider](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html).

This is a safe provider, so if a watch face uses this as a default it will be able to receive data from it even before the RECEIVE_COMPLICATION_DATA permission has been granted.

This provider supports the following types:[TYPE_SMALL_IMAGE](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_SMALL_IMAGE),[TYPE_LONG_TEXT](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_LONG_TEXT).

<br />

Constant Value: 6 (0x00000006)  

### DATE

```
public static final int DATE
```

Id for the 'date' complication provider. For use with[#setDefaultSystemComplicationProvider](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html).

This is a safe provider, so if a watch face uses this as a default it will be able to receive data from it even before the RECEIVE_COMPLICATION_DATA permission has been granted.

This provider supports only[TYPE_SHORT_TEXT](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_SHORT_TEXT).

<br />

Constant Value: 2 (0x00000002)  

### DAY_OF_WEEK

```
public static final int DAY_OF_WEEK
```

Id for the 'day of week' complication provider. For use with[#setDefaultSystemComplicationProvider](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html).

This is a safe provider, so if a watch face uses this as a default it will be able to receive data from it even before the RECEIVE_COMPLICATION_DATA permission has been granted.

This provider supports only[TYPE_SHORT_TEXT](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_SHORT_TEXT).

<br />

Constant Value: 13 (0x0000000d)  

### FAVORITE_CONTACT

```
public static final int FAVORITE_CONTACT
```

Id for the 'favorite contact' complication provider. For use with[#setDefaultSystemComplicationProvider](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html).

This is not a safe provider, so if a watch face uses this as a default it will receive data of TYPE_NO_PERMISSION until the user has granted the RECEIVE_COMPLICATION_DATA.

This provider supports only[TYPE_SMALL_IMAGE](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_SMALL_IMAGE).

<br />

Constant Value: 14 (0x0000000e)  

### GOOGLE_PAY

```
public static final int GOOGLE_PAY
```

Id for the Google Pay complication provider. For use with[#setDefaultSystemComplicationProvider](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html).

This is a safe provider (because it only launches the Google Pay app), so if a watch face uses this as a default it will be able to receive data from it even before the RECEIVE_COMPLICATION_DATA permission has been granted.

This provider supports only[TYPE_SMALL_IMAGE](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_SMALL_IMAGE).

<br />

Constant Value: 8 (0x00000008)  

### MOST_RECENT_APP

```
public static final int MOST_RECENT_APP
```

Id for the 'most recent app' complication provider. For use with[#setDefaultSystemComplicationProvider](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html).

This is a safe provider, so if a watch face uses this as a default it will be able to receive data from it even before the RECEIVE_COMPLICATION_DATA permission has been granted.

This provider supports[TYPE_SMALL_IMAGE](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_SMALL_IMAGE),[TYPE_LONG_TEXT](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_LONG_TEXT).

<br />

Constant Value: 15 (0x0000000f)  

### NEXT_EVENT

```
public static final int NEXT_EVENT
```

Id for the 'next event' complication provider. For use with[#setDefaultSystemComplicationProvider](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html).

This is not a safe provider, so if a watch face uses this as a default it will receive data of TYPE_NO_PERMISSION until the user has granted the RECEIVE_COMPLICATION_DATA.

This provider supports the following types:[TYPE_SHORT_TEXT](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_SHORT_TEXT),[TYPE_LONG_TEXT](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_LONG_TEXT).

<br />

Constant Value: 9 (0x00000009)  

### RETAIL_CHAT

```
public static final int RETAIL_CHAT
```

Id for the 'retail mode chat' complication provider. For use with[#setDefaultSystemComplicationProvider](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html).

This provider shows fake 'unread chat messages' data, and the tap action launches the retail mode chat app. This provider should only be set as a default if the device is in retail mode.

This provider supports only[TYPE_SHORT_TEXT](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_SHORT_TEXT).

<br />

Constant Value: 11 (0x0000000b)  

### RETAIL_STEP_COUNT

```
public static final int RETAIL_STEP_COUNT
```

Id for the 'retail mode step count' complication provider. For use with[#setDefaultSystemComplicationProvider](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html).

This provider shows fake step count data, and the tap action launches the retail mode health app. This provider should only be set as a default if the device is in retail mode.

This provider supports only[TYPE_SHORT_TEXT](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_SHORT_TEXT).

<br />

Constant Value: 10 (0x0000000a)  

### STEP_COUNT

```
public static final int STEP_COUNT
```

Id for the 'step count' complication provider. For use with[#setDefaultSystemComplicationProvider](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html).

This is a safe provider (because it only shows a daily total), so if a watch face uses this as a default it will be able to receive data from it even before the RECEIVE_COMPLICATION_DATA permission has been granted.

This provider supports only[TYPE_SHORT_TEXT](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_SHORT_TEXT).

<br />

Constant Value: 4 (0x00000004)  

### SUNRISE_SUNSET

```
public static final int SUNRISE_SUNSET
```

Id for the 'sunrise sunset' complication provider.

This provider shows next sunrise or sunset time according to current timezone and location.

This provider supports only[TYPE_SHORT_TEXT](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_SHORT_TEXT).

<br />

Constant Value: 12 (0x0000000c)  

### TIME_AND_DATE

```
public static final int TIME_AND_DATE
```

Id for the 'time and date' complication provider. For use with[#setDefaultSystemComplicationProvider](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html).

This is a safe provider, so if a watch face uses this as a default it will be able to receive data from it even before the RECEIVE_COMPLICATION_DATA permission has been granted.

This provider supports only[TYPE_SHORT_TEXT](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_SHORT_TEXT).

<br />

Constant Value: 3 (0x00000003)  

### UNREAD_NOTIFICATION_COUNT

```
public static final int UNREAD_NOTIFICATION_COUNT
```

Id for the 'unread notification count' complication provider. For use with[#setDefaultSystemComplicationProvider](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html).

This is a safe provider, so if a watch face uses this as a default it will be able to receive data from it even before the RECEIVE_COMPLICATION_DATA permission has been granted.

This provider supports the following types:[TYPE_ICON](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_ICON),[TYPE_SHORT_TEXT](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_SHORT_TEXT).

<br />

Constant Value: 7 (0x00000007)  

### WATCH_BATTERY

```
public static final int WATCH_BATTERY
```

Id for the 'watch battery' complication provider. For use with[#setDefaultSystemComplicationProvider](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html).

This is a safe provider, so if a watch face uses this as a default it will be able to receive data from it even before the RECEIVE_COMPLICATION_DATA permission has been granted.

This provider supports the following types:[TYPE_ICON](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_ICON),[TYPE_SHORT_TEXT](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_SHORT_TEXT),[TYPE_LONG_TEXT](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_LONG_TEXT),[TYPE_RANGED_VALUE](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_RANGED_VALUE).

<br />

Constant Value: 1 (0x00000001)  

### WORLD_CLOCK

```
public static final int WORLD_CLOCK
```

Id for the 'world clock' complication provider. For use with[#setDefaultSystemComplicationProvider](https://developer.android.com/reference/android/support/wearable/watchface/WatchFaceService.Engine.html).

This is a safe provider, so if a watch face uses this as a default it will be able to receive data from it even before the RECEIVE_COMPLICATION_DATA permission has been granted.

This provider supports only[TYPE_SHORT_TEXT](https://developer.android.com/reference/android/support/wearable/complications/ComplicationData.html#TYPE_SHORT_TEXT).

<br />

Constant Value: 5 (0x00000005)

## Public constructors

### SystemProviders

```
public SystemProviders ()
```

<br />

<br />