Added in API level 37

OperationSource


abstract class OperationSource
kotlin.Any
   ↳ android.os.storage.operations.sources.OperationSource

Abstract base class for the source of a file operation.

Summary

Public methods
abstract String

Returns a human-readable representation of this source.

Public methods

toString

Added in API level 37
abstract fun toString(): String

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.

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