# QualifiedContent.Scope

# QualifiedContent.Scope

[View Source](https://cs.android.com/search?q=file:com/android/build/api/transform/QualifiedContent.java+class:com.android.build.api.transform.QualifiedContent.Scope)  
Added in 4.2.0  
Deprecated in 7.0.0  

<br />

```
enum QualifiedContent.Scope : QualifiedContent.ScopeType
```

<br />

*** ** * ** ***

The scope of the content.

This indicates what the content represents, so that Transforms can apply to only part(s) of the classes or resources that the build manipulates.

## Summary

|                                                                            ### Enum Values                                                                             |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [EXTERNAL_LIBRARIES](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/QualifiedContent.Scope#EXTERNAL_LIBRARIES)           | Only the external libraries                                                                                                                                                                                                                   |
| [PROJECT](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/QualifiedContent.Scope#PROJECT)                                 | Only the project (module) content                                                                                                                                                                                                             |
| [PROJECT_LOCAL_DEPS](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/QualifiedContent.Scope#PROJECT_LOCAL_DEPS)           | **This enum value is deprecated.** local dependencies are now processed as[EXTERNAL_LIBRARIES](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/QualifiedContent.Scope#EXTERNAL_LIBRARIES) <br /> |
| [PROVIDED_ONLY](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/QualifiedContent.Scope#PROVIDED_ONLY)                     | Local or remote dependencies that are provided-only                                                                                                                                                                                           |
| [SUB_PROJECTS](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/QualifiedContent.Scope#SUB_PROJECTS)                       | Only the sub-projects (other modules)                                                                                                                                                                                                         |
| [SUB_PROJECTS_LOCAL_DEPS](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/QualifiedContent.Scope#SUB_PROJECTS_LOCAL_DEPS) | **This enum value is deprecated.** local dependencies are now processed as[EXTERNAL_LIBRARIES](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/QualifiedContent.Scope#EXTERNAL_LIBRARIES) <br /> |
| [TESTED_CODE](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/QualifiedContent.Scope#TESTED_CODE)                         | Code that is being tested by the current variant, including dependencies                                                                                                                                                                      |

|                                                                                                               ### Public functions                                                                                                                |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `java-static `[QualifiedContent.Scope](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/QualifiedContent.Scope)`!`                                                                                    | [valueOf](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/QualifiedContent.Scope#valueOf(java.lang.String))`(name: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Returns the enum constant of this type with the specified name. |
| `java-static `[Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)`<`[QualifiedContent.Scope](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/QualifiedContent.Scope)`!>!` | [values](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/QualifiedContent.Scope#values())`()` Returns an array containing the constants of this enum type, in the order they're declared.                                                                                |

|                           ### Public properties                            |
|----------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [value](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/QualifiedContent.Scope#value()) |

|                                                                                                                                                                                                                                                                                                                                                                  ### Inherited functions                                                                                                                                                                                                                                                                                                                                                                  |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From[com.android.build.api.transform.QualifiedContent.ScopeType](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/QualifiedContent.ScopeType) |------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `abstract `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!` | [name](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/QualifiedContent.ScopeType#name())`()` Scope name, readable by humans. | |

## Enum Values

### EXTERNAL_LIBRARIES

```
val QualifiedContent.Scope.EXTERNAL_LIBRARIES: QualifiedContent.Scope
```

Only the external libraries  

### PROJECT

```
val QualifiedContent.Scope.PROJECT: QualifiedContent.Scope
```

Only the project (module) content  

### PROJECT_LOCAL_DEPS

```
val QualifiedContent.Scope.PROJECT_LOCAL_DEPS: QualifiedContent.Scope
```
| **This enum value is deprecated.**   
|
| local dependencies are now processed as[EXTERNAL_LIBRARIES](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/QualifiedContent.Scope#EXTERNAL_LIBRARIES)

Only the project's local dependencies (local jars)  

### PROVIDED_ONLY

```
val QualifiedContent.Scope.PROVIDED_ONLY: QualifiedContent.Scope
```

Local or remote dependencies that are provided-only  

### SUB_PROJECTS

```
val QualifiedContent.Scope.SUB_PROJECTS: QualifiedContent.Scope
```

Only the sub-projects (other modules)  

### SUB_PROJECTS_LOCAL_DEPS

```
val QualifiedContent.Scope.SUB_PROJECTS_LOCAL_DEPS: QualifiedContent.Scope
```
| **This enum value is deprecated.**   
|
| local dependencies are now processed as[EXTERNAL_LIBRARIES](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/QualifiedContent.Scope#EXTERNAL_LIBRARIES)

Only the sub-projects's local dependencies (local jars).  

### TESTED_CODE

```
val QualifiedContent.Scope.TESTED_CODE: QualifiedContent.Scope
```

Code that is being tested by the current variant, including dependencies  

## Public functions

### valueOf

Added in 4.2.0  

```
java-static fun valueOf(name: String!): QualifiedContent.Scope!
```

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)  

|                                                                     Returns                                                                      |
|--------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------|
| [QualifiedContent.Scope](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/QualifiedContent.Scope)`!` | the enum constant with the specified name |

|                                                                   Throws                                                                   |
|--------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------|
| [java.lang.IllegalArgumentException](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IllegalArgumentException.html) | if this enum type has no constant with the specified name |

### values

Added in 4.2.0  

```
java-static fun values(): Array<QualifiedContent.Scope!>!
```

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.  

|                                                                                                               Returns                                                                                                               |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------|
| [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)`<`[QualifiedContent.Scope](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/QualifiedContent.Scope)`!>!` | an array containing the constants of this enum type, in the order they're declared |

## Public properties

### value

Added in 8.8.2  
Deprecated in 8.8.2  

```
val value: Int
```