Share via


TvView.SetZOrderMediaOverlay(Boolean) Method

Definition

Controls whether the TvView's surface is placed on top of another regular surface view in the window (but still behind the window itself).

[Android.Runtime.Register("setZOrderMediaOverlay", "(Z)V", "GetSetZOrderMediaOverlay_ZHandler", ApiSince=24)]
public virtual void SetZOrderMediaOverlay (bool isMediaOverlay);
[<Android.Runtime.Register("setZOrderMediaOverlay", "(Z)V", "GetSetZOrderMediaOverlay_ZHandler", ApiSince=24)>]
abstract member SetZOrderMediaOverlay : bool -> unit
override this.SetZOrderMediaOverlay : bool -> unit

Parameters

isMediaOverlay
Boolean

true to be on top of another regular surface, false otherwise.

Attributes

Remarks

Controls whether the TvView's surface is placed on top of another regular surface view in the window (but still behind the window itself). This is typically used to place overlays on top of an underlying TvView.

Note that this must be set before the TvView's containing window is attached to the window manager.

Calling this overrides any previous call to #setZOrderOnTop.

Java documentation for android.media.tv.TvView.setZOrderMediaOverlay(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