Added in API level 37

OperationTarget


public abstract class OperationTarget
extends Object

java.lang.Object
   ↳ android.os.storage.operations.targets.OperationTarget


Abstract base class for the target of a file operation.

Summary

Public methods

abstract String toString()

Returns a human-readable representation of this target.

Inherited methods

Public methods

toString

Added in API level 37
public abstract String toString ()

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.

Returns
String This value cannot be null.