Added in API level 37

OperationSource


public abstract class OperationSource
extends Object

java.lang.Object
   ↳ android.os.storage.operations.sources.OperationSource


Abstract base class for the source of a file operation.

Summary

Public methods

abstract String toString()

Returns a human-readable representation of this source.

Inherited methods

Public methods

toString

Added in API level 37
public abstract String toString ()

Returns a human-readable representation of this source.

Concrete implementations should return a string that describes the source 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 source configuration.

Returns
String A debugging string representation of the source.
This value cannot be null.