Share via


TvAdView.SetZOrderOnTop(Boolean) Method

Definition

Controls whether the TvAdView's surface is placed on top of its window.

[Android.Runtime.Register("setZOrderOnTop", "(Z)V", "GetSetZOrderOnTop_ZHandler", ApiSince=36)]
public virtual void SetZOrderOnTop(bool onTop);
[<Android.Runtime.Register("setZOrderOnTop", "(Z)V", "GetSetZOrderOnTop_ZHandler", ApiSince=36)>]
abstract member SetZOrderOnTop : bool -> unit
override this.SetZOrderOnTop : bool -> unit

Parameters

onTop
Boolean

true to be on top of its window, false otherwise.

Attributes

Remarks

Controls whether the TvAdView's surface is placed on top of its window.

Calling this overrides any previous call to #setZOrderMediaOverlay.

Java documentation for android.media.tv.ad.TvAdView.setZOrderOnTop(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