# ResValue.Key

# Key

```
interface Key : Serializable
```

|--------------------------------------------------------------------------------------------------------------------------------------------------------|
| [com.android.build.api.variant.ResValue.Key](https://developer.android.com/reference/tools/gradle-api/7.0/com/android/build/api/variant/ResValue.Key#) |

a generated resource is identified by its type+name as you can create

## Summary

|                                                                                                                         ### Properties                                                                                                                          ||
|------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| abstract[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [name](https://developer.android.com/reference/tools/gradle-api/7.0/com/android/build/api/variant/ResValue.Key#name:kotlin.String) name of the resource.              |
| abstract[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [type](https://developer.android.com/reference/tools/gradle-api/7.0/com/android/build/api/variant/ResValue.Key#type:kotlin.String) type of the resource like 'string' |

## Properties

### name

```
abstract val name: String
```

name of the resource.  

### type

```
abstract val type: String
```

type of the resource like 'string'