# ActionBuilders.AndroidDoubleExtra

# ActionBuilders.AndroidDoubleExtra

Artifact:[androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout)  
[View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/ActionBuilders.java+class:androidx.wear.protolayout.ActionBuilders.AndroidDoubleExtra)  
Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.0.0)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/wear/protolayout/ActionBuilders.AndroidDoubleExtra "View this page in Java")

<br />

```
@RequiresSchemaVersion(major = 1, minor = 0)
class ActionBuilders.AndroidDoubleExtra : ActionBuilders.AndroidExtra
```

<br />

*** ** * ** ***

A double value that can be added to an Android intent's extras.

## Summary

|                                                                                                                                                   ### Nested types                                                                                                                                                   |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `class `[ActionBuilders.AndroidDoubleExtra.Builder](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ActionBuilders.AndroidDoubleExtra.Builder) Builder for[AndroidDoubleExtra](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ActionBuilders.AndroidDoubleExtra). |

|                               ### Public functions                                |
|-----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html) | [getValue](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ActionBuilders.AndroidDoubleExtra#getValue())`()` Gets the value. |
| [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) | [toString](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ActionBuilders.AndroidDoubleExtra#toString())`()`                 |

## Public functions

### getValue

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

```
fun getValue(): Double
```

Gets the value.  

### toString

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