Compartir a través de


OverlayManagerTransaction.RegisterFabricatedOverlay(FabricatedOverlay) Method

Definition

Registers the fabricated overlays with the overlay manager so it can be used to overlay the app resources in runtime.

[Android.Runtime.Register("registerFabricatedOverlay", "(Landroid/content/om/FabricatedOverlay;)V", "", ApiSince=34)]
public void RegisterFabricatedOverlay (Android.Content.OM.FabricatedOverlay overlay);
[<Android.Runtime.Register("registerFabricatedOverlay", "(Landroid/content/om/FabricatedOverlay;)V", "", ApiSince=34)>]
member this.RegisterFabricatedOverlay : Android.Content.OM.FabricatedOverlay -> unit

Parameters

overlay
FabricatedOverlay

the overlay to register with the overlay manager

Attributes

Remarks

Registers the fabricated overlays with the overlay manager so it can be used to overlay the app resources in runtime.

If an overlay is re-registered the existing overlay will be replaced by the newly registered overlay. The registered overlay will be left unchanged until the target package or target overlayable is changed.

Java documentation for android.content.om.OverlayManagerTransaction.registerFabricatedOverlay(android.content.om.FabricatedOverlay).

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