다음을 통해 공유


PackageManager.GetSyntheticAppDetailsActivityEnabled(String) Method

Definition

Return whether a synthetic app details activity will be generated if the app has no enabled launcher activity.

[Android.Runtime.Register("getSyntheticAppDetailsActivityEnabled", "(Ljava/lang/String;)Z", "GetGetSyntheticAppDetailsActivityEnabled_Ljava_lang_String_Handler", ApiSince=29)]
public virtual bool GetSyntheticAppDetailsActivityEnabled (string packageName);
[<Android.Runtime.Register("getSyntheticAppDetailsActivityEnabled", "(Ljava/lang/String;)Z", "GetGetSyntheticAppDetailsActivityEnabled_Ljava_lang_String_Handler", ApiSince=29)>]
abstract member GetSyntheticAppDetailsActivityEnabled : string -> bool
override this.GetSyntheticAppDetailsActivityEnabled : string -> bool

Parameters

packageName
String

The package name of the app

Returns

Returns the enabled state for the synthetic app details activity.

Attributes

Remarks

Return whether a synthetic app details activity will be generated if the app has no enabled launcher activity.

Java documentation for android.content.pm.PackageManager.getSyntheticAppDetailsActivityEnabled(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