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

*** ** * ** ***

Kotlin \|[Java](https://developer.android.com/reference/androidx/wear/phone/interactions/notifications/BridgingConfig "View this page in Java")


```
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/kotlin/androidx/wear/phone/interactions/notifications/BridgingConfig` object, add excluded tags, then set it with `https://developer.android.com/reference/kotlin/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 |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/wear/phone/interactions/notifications/BridgingConfig.Builder` Builder for BridgingConfig. |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/phone/interactions/notifications/BridgingConfig#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/phone/interactions/notifications/BridgingConfig#hashCode()()` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/phone/interactions/notifications/BridgingConfig#toString()()` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-set/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>?` | `https://developer.android.com/reference/kotlin/androidx/wear/phone/interactions/notifications/BridgingConfig#excludedTags()` The set of excluded tags in the configuration. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/phone/interactions/notifications/BridgingConfig#isBridgingEnabled()` Whether notification bridging is enabled in the configuration. |

## Public functions

### equals

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

```
open fun hashCode(): Int
```

### toString

```
open fun toString(): String
```

## Public properties

### excludedTags

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

```
val excludedTags: MutableSet<String>?
```

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/kotlin/androidx/wear/phone/interactions/notifications/BridgingConfig#(kotlin.String,kotlin.Boolean,kotlin.collections.MutableSet)`).

### isBridgingEnabled

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

```
val isBridgingEnabled: Boolean
```

Whether notification bridging is enabled in the configuration.