# BridgingConfig

Artifact: [androidx.wear:wear-phone-interactions](https://developer.android.com/jetpack/androidx/releases/wear) [View Source](https://cs.android.com/search?q=file:androidx/wear/phone/interactions/notifications/BridgingConfig.kt+class:androidx.wear.phone.interactions.notifications.BridgingConfig) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/wear#1.0.0)

*** ** * ** ***


```
public final class BridgingConfig
```

<br />

*** ** * ** ***

Bridging configuration to be specified at runtime, to set tags for notifications that are exempt from the bridging mode. specifically, create a `https://developer.android.com/reference/androidx/wear/phone/interactions/notifications/BridgingConfig` object, add excluded tags, then set it with `https://developer.android.com/reference/androidx/wear/phone/interactions/notifications/BridgingManager#setConfig(androidx.wear.phone.interactions.notifications.BridgingConfig)`

Specifying a bridging configuration at runtime overrides a bridging-related setting in the Android manifest file.

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/wear/phone/interactions/notifications/BridgingConfig.Builder` Builder for BridgingConfig. |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/wear/phone/interactions/notifications/BridgingConfig#equals(kotlin.Any)(https://developer.android.com/reference/java/lang/Object.html other)` |
| `final https://developer.android.com/reference/java/util/Set.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html>` | `https://developer.android.com/reference/androidx/wear/phone/interactions/notifications/BridgingConfig#getExcludedTags()()` The set of excluded tags in the configuration. |
| `int` | `https://developer.android.com/reference/androidx/wear/phone/interactions/notifications/BridgingConfig#hashCode()()` |
| `final boolean` | `https://developer.android.com/reference/androidx/wear/phone/interactions/notifications/BridgingConfig#isBridgingEnabled()()` Whether notification bridging is enabled in the configuration. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/wear/phone/interactions/notifications/BridgingConfig#toString()()` |

## Public methods

### equals

```
public boolean equals(Object other)
```

### getExcludedTags

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/wear#1.0.0)

```
public final Set<@NonNull String> getExcludedTags()
```

The set of excluded tags in the configuration. The bridging mode for these tags is the opposite of the default mode (returned by `https://developer.android.com/reference/androidx/wear/phone/interactions/notifications/BridgingConfig#(kotlin.String,kotlin.Boolean,kotlin.collections.MutableSet)`).

### hashCode

```
public int hashCode()
```

### isBridgingEnabled

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/wear#1.0.0)

```
public final boolean isBridgingEnabled()
```

Whether notification bridging is enabled in the configuration.

### toString

```
public @NonNull String toString()
```