Language

DocumentsContract.Path.GetPath Method

Definition

Returns the path.

[Android.Runtime.Register("getPath", "()Ljava/util/List;", "", ApiSince=26)]
public System.Collections.Generic.IList<string>? GetPath();
[<Android.Runtime.Register("getPath", "()Ljava/util/List;", "", ApiSince=26)>]
member this.GetPath : unit -> System.Collections.Generic.IList<string>

Returns

The ordered document IDs, with the parent document at index zero and the target document last.

Attributes

Remarks

Returns the path. The path is trimmed to the top of tree if calling package doesn't have permission to access those documents.

Java documentation for android.provider.DocumentsContract.Path.getPath().

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