Partager via


LauncherApps.ArchiveCompatibilityParams.SetEnableIconOverlay(Boolean) Method

Definition

If true, provides a cloud overlay for archived apps to ensure users are aware that a certain app is archived.

[Android.Runtime.Register("setEnableIconOverlay", "(Z)V", "GetSetEnableIconOverlay_ZHandler", ApiSince=35)]
public virtual void SetEnableIconOverlay (bool enableIconOverlay);
[<Android.Runtime.Register("setEnableIconOverlay", "(Z)V", "GetSetEnableIconOverlay_ZHandler", ApiSince=35)>]
abstract member SetEnableIconOverlay : bool -> unit
override this.SetEnableIconOverlay : bool -> unit

Parameters

enableIconOverlay
Boolean
Attributes

Remarks

If true, provides a cloud overlay for archived apps to ensure users are aware that a certain app is archived. True by default.

Launchers might want to disable this operation if they want to provide custom user experience to differentiate archived apps.

Java documentation for android.content.pm.LauncherApps.ArchiveCompatibilityParams.setEnableIconOverlay(boolean).

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