SliceManager.GetSliceDescendants(Uri) Method

Definition

Obtains a list of slices that are descendants of the specified Uri.

[Android.Runtime.Register("getSliceDescendants", "(Landroid/net/Uri;)Ljava/util/Collection;", "GetGetSliceDescendants_Landroid_net_Uri_Handler", ApiSince=28)]
public virtual System.Collections.Generic.ICollection<Android.Net.Uri> GetSliceDescendants (Android.Net.Uri uri);
[<Android.Runtime.Register("getSliceDescendants", "(Landroid/net/Uri;)Ljava/util/Collection;", "GetGetSliceDescendants_Landroid_net_Uri_Handler", ApiSince=28)>]
abstract member GetSliceDescendants : Android.Net.Uri -> System.Collections.Generic.ICollection<Android.Net.Uri>
override this.GetSliceDescendants : Android.Net.Uri -> System.Collections.Generic.ICollection<Android.Net.Uri>

Parameters

uri
Uri

The uri to look for descendants under.

Returns

All slices within the space.

Attributes

Remarks

Obtains a list of slices that are descendants of the specified Uri.

Not all slice providers will implement this functionality, in which case, an empty collection will be returned.

Java documentation for android.app.slice.SliceManager.getSliceDescendants(android.net.Uri).

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