Language

OperationTarget.ToString Method

Definition

Returns a human-readable representation of this target.

[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

Attributes

Remarks

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.

Android reference for android.os.storage.operations.targets.OperationTarget.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