SliceProvider.OnGetSliceDescendants(Uri) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Obtains a list of slices that are descendants of the specified Uri.
[Android.Runtime.Register("onGetSliceDescendants", "(Landroid/net/Uri;)Ljava/util/Collection;", "GetOnGetSliceDescendants_Landroid_net_Uri_Handler", ApiSince=28)]
public virtual System.Collections.Generic.ICollection<Android.Net.Uri> OnGetSliceDescendants (Android.Net.Uri uri);
[<Android.Runtime.Register("onGetSliceDescendants", "(Landroid/net/Uri;)Ljava/util/Collection;", "GetOnGetSliceDescendants_Landroid_net_Uri_Handler", ApiSince=28)>]
abstract member OnGetSliceDescendants : Android.Net.Uri -> System.Collections.Generic.ICollection<Android.Net.Uri>
override this.OnGetSliceDescendants : 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.
Implementing this is optional for a SliceProvider, but does provide a good discovery mechanism for finding slice Uris.
Java documentation for android.app.slice.SliceProvider.onGetSliceDescendants(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.