Added in [API level 37](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# OperationTarget

*** ** * ** ***

```
abstract class OperationTarget
```

|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||
| ↳ | [android.os.storage.operations.targets.OperationTarget](https://developer.android.com/reference/kotlin/android/os/storage/operations/targets/OperationTarget#) |

|---|
| Known Direct Subclasses [PccTarget](https://developer.android.com/reference/kotlin/android/os/storage/operations/targets/PccTarget) |---|---| | [PccTarget](https://developer.android.com/reference/kotlin/android/os/storage/operations/targets/PccTarget) | A target representing the calling application's Private Compute Core (PCC) data directory. | |

Abstract base class for the target of a file operation.

## Summary

| Public methods ||
|---|---|
| abstract [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/os/storage/operations/targets/OperationTarget#toString()()` Returns a human-readable representation of this target. |

## Public methods

### toString

Added in [API level 37](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

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

Returns a human-readable representation of this target.

Concrete implementations should return a string that describes the target in a way that is useful for debugging and logging (e.g., including key paths or identifiers).

**Note:** This string is intended for diagnostic purposes only and should not be parsed or relied upon as a stable identifier for the files or the target configuration.

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | This value cannot be `null`. |