Summary: [Constants](https://developer.android.com/reference/android/support/wearable/notifications/BridgeModeConstants#constants) \| [Inherited Methods](https://developer.android.com/reference/android/support/wearable/notifications/BridgeModeConstants#inhmethods)

# BridgeModeConstants


`
public


class
BridgeModeConstants
`


`

extends http://developer.android.com/reference/java/lang/Object.html


`

`


`

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

<br />

*** ** * ** ***


**This class is deprecated.**   

use the `androidx.wear.utils.MetadataConstants` provided by the [Jetpack Wear](https://developer.android.com/jetpack/androidx/releases/wear) library instead.

Constants for customizing bridging of notifications from the phone to the wearable.

We support specifying whether notifications should be bridged from the phone to the wearable
in the Wear app manifest file. Simply add a meta-data element to the Wear app manifest with the
name "com.google.android.wearable.notificationBridgeMode" and either the value NO_BRIDGING or the
value BRIDGING. If you choose not to update your Wear app manifest, then notifications will be
bridged by default from the phone to the wearable.

NO_BRIDGING means that phone notifications will not be bridged to the wearable if the wearable
app is installed.

BRIDGING means that phone notifications will be bridged to the wearable, unless they are
posted with `http://developer.android.com/reference/android/app/Notification.Builder.html#setLocalOnly(boolean)`.

Example AndroidManifest.xml meta-data element for NO_BRIDGING:

    <meta-data
         android:name="com.google.android.wearable.notificationBridgeMode"
         android:value="NO_BRIDGING" />
     
Example AndroidManifest.xml meta-data element for BRIDGING:

    <meta-data
         android:name="com.google.android.wearable.notificationBridgeMode"
         android:value="BRIDGING" />
     
<br />

## Summary

| ### Constants ||
|---|---|
| `http://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/android/support/wearable/notifications/BridgeModeConstants.html#NOTIFICATION_BRIDGE_MODE_BRIDGING` The value of the notification bridge mode meta-data element in the case where the Wear app wants notifications to be bridged from the phone to the wearable. |
| `http://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/android/support/wearable/notifications/BridgeModeConstants.html#NOTIFICATION_BRIDGE_MODE_METADATA_NAME` The name of the meta-data element in the Wear app manifest for specifying whether notifications should be bridged from the phone to the wearable. |
| `http://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/android/support/wearable/notifications/BridgeModeConstants.html#NOTIFICATION_BRIDGE_MODE_NO_BRIDGING` The value of the notification bridge mode meta-data element in the case where the Wear app does not want notifications to be bridged from the phone to the wearable. |

### Inherited methods

From class `

http://developer.android.com/reference/java/lang/Object.html

` `


http://developer.android.com/reference/java/lang/Object.html` `
clone()
` `


boolean` `
equals(http://developer.android.com/reference/java/lang/Object.html arg0)
` `


void` `
finalize()
` `


final

http://developer.android.com/reference/java/lang/Class.html<?>` `
getClass()
` `


int` `
hashCode()
` `


final

void` `
notify()
` `


final

void` `
notifyAll()
` `


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

### NOTIFICATION_BRIDGE_MODE_BRIDGING

```
public static final String NOTIFICATION_BRIDGE_MODE_BRIDGING
```

The value of the notification bridge mode meta-data element in the case where the Wear app
wants notifications to be bridged from the phone to the wearable.

<br />

Constant Value:

"BRIDGING"


### NOTIFICATION_BRIDGE_MODE_METADATA_NAME

```
public static final String NOTIFICATION_BRIDGE_MODE_METADATA_NAME
```

The name of the meta-data element in the Wear app manifest for specifying whether notifications
should be bridged from the phone to the wearable.

<br />

Constant Value:

"com.google.android.wearable.notificationBridgeMode"


### NOTIFICATION_BRIDGE_MODE_NO_BRIDGING

```
public static final String NOTIFICATION_BRIDGE_MODE_NO_BRIDGING
```

The value of the notification bridge mode meta-data element in the case where the Wear app does
not want notifications to be bridged from the phone to the wearable.

<br />

Constant Value:

"NO_BRIDGING"