Udostępnij za pośrednictwem


SliceManager.GetPinnedSpecs(Uri) Method

Definition

Get the current set of specs for a pinned slice.

[Android.Runtime.Register("getPinnedSpecs", "(Landroid/net/Uri;)Ljava/util/Set;", "GetGetPinnedSpecs_Landroid_net_Uri_Handler", ApiSince=28)]
public virtual System.Collections.Generic.ICollection<Android.App.Slices.SliceSpec> GetPinnedSpecs (Android.Net.Uri? uri);
[<Android.Runtime.Register("getPinnedSpecs", "(Landroid/net/Uri;)Ljava/util/Set;", "GetGetPinnedSpecs_Landroid_net_Uri_Handler", ApiSince=28)>]
abstract member GetPinnedSpecs : Android.Net.Uri -> System.Collections.Generic.ICollection<Android.App.Slices.SliceSpec>
override this.GetPinnedSpecs : Android.Net.Uri -> System.Collections.Generic.ICollection<Android.App.Slices.SliceSpec>

Parameters

uri
Uri

Returns

Attributes

Remarks

Get the current set of specs for a pinned slice.

This is the set of specs supported for a specific pinned slice. It will take into account all clients and returns only specs supported by all.

Java documentation for android.app.slice.SliceManager.getPinnedSpecs(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