# ShortDynamicLink.Warning

# ShortDynamicLink.Warning


```
interface ShortDynamicLink.Warning
```

<br />

*** ** * ** ***

> [!CAUTION]
> **This interface is deprecated.**   
>
> Firebase Dynamic Links is deprecated and should not be used in new projects. The service will shut down on August 25, 2025. For more information, see [Dynamic Links deprecation documentation](https://firebase.google.com/support/dynamic-links-faq).

Information about potential warnings on short Dynamic Link creation.

## Summary

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?` | `[getCode](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/ShortDynamicLink.Warning#getCode())()` **This function is deprecated.** See `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/ShortDynamicLink.Warning#getMessage()` for more information on this warning and how to correct it. <br /> |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?` | `[getMessage](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/ShortDynamicLink.Warning#getMessage())()` **This function is deprecated.** Firebase Dynamic Links is deprecated and should not be used in new projects. <br /> |

## Public functions

### getCode

```
fun [getCode](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/ShortDynamicLink.Warning#getCode())(): String?
```

> [!CAUTION]
> **This function is deprecated.**   
>
> See `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/ShortDynamicLink.Warning#getMessage()` for more information on this warning and how to correct it.

Gets the warning code.

### getMessage

```
fun [getMessage](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/dynamiclinks/ShortDynamicLink.Warning#getMessage())(): String?
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Firebase Dynamic Links is deprecated and should not be used in new projects. The service will shut down on August 25, 2025. For more information, see [Dynamic Links deprecation documentation](https://firebase.google.com/support/dynamic-links-faq).

Gets the warning message to help developers improve their requests.