Language

OperationSource.ToString Method

Definition

Returns a human-readable representation of this source.

[Android.Runtime.Register("toString", "()Ljava/lang/String;", "GetToStringHandler", ApiSince=37)]
public abstract string ToString();
[<Android.Runtime.Register("toString", "()Ljava/lang/String;", "GetToStringHandler", ApiSince=37)>]
override this.ToString : unit -> string

Returns

A debugging string representation of the source.

Attributes

Remarks

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.

Android reference for android.os.storage.operations.sources.OperationSource.toString.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to