次の方法で共有


ShortcutInfo.GetCapabilityParams(Capability) Method

Definition

Returns the CapabilityParams in associated with given capability.

[Android.Runtime.Register("getCapabilityParams", "(Landroid/content/pm/Capability;)Ljava/util/List;", "", ApiSince=33)]
public System.Collections.Generic.IList<Android.Content.PM.CapabilityParams> GetCapabilityParams (Android.Content.PM.Capability capability);
[<Android.Runtime.Register("getCapabilityParams", "(Landroid/content/pm/Capability;)Ljava/util/List;", "", ApiSince=33)>]
member this.GetCapabilityParams : Android.Content.PM.Capability -> System.Collections.Generic.IList<Android.Content.PM.CapabilityParams>

Parameters

capability
Capability

Capability associated with the shortcut.

Returns

Attributes

Remarks

Returns the CapabilityParams in associated with given capability.

Java documentation for android.content.pm.ShortcutInfo.getCapabilityParams(android.content.pm.Capability).

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