Share via


PackageManager.QueryActivityProperty(String) Method

Definition

Returns the property definition for all <activity> and <activity-alias> tags.

[Android.Runtime.Register("queryActivityProperty", "(Ljava/lang/String;)Ljava/util/List;", "GetQueryActivityProperty_Ljava_lang_String_Handler", ApiSince=31)]
public virtual System.Collections.Generic.IList<Android.Content.PM.PackageManager.Property> QueryActivityProperty (string propertyName);
[<Android.Runtime.Register("queryActivityProperty", "(Ljava/lang/String;)Ljava/util/List;", "GetQueryActivityProperty_Ljava_lang_String_Handler", ApiSince=31)>]
abstract member QueryActivityProperty : string -> System.Collections.Generic.IList<Android.Content.PM.PackageManager.Property>
override this.QueryActivityProperty : string -> System.Collections.Generic.IList<Android.Content.PM.PackageManager.Property>

Parameters

propertyName
String

Returns

Attributes

Remarks

Returns the property definition for all &lt;activity&gt; and &lt;activity-alias&gt; tags.

If the property is not defined with any &lt;activity&gt; and &lt;activity-alias&gt; tag, returns and empty list.

Java documentation for android.content.pm.PackageManager.queryActivityProperty(java.lang.String).

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