TvAdView.SetZOrderMediaOverlay(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Controls whether the TvAdView's surface is placed on top of other regular surface views in the window (but still behind the window itself).
[Android.Runtime.Register("setZOrderMediaOverlay", "(Z)V", "GetSetZOrderMediaOverlay_ZHandler", ApiSince=36)]
public virtual void SetZOrderMediaOverlay(bool isMediaOverlay);
[<Android.Runtime.Register("setZOrderMediaOverlay", "(Z)V", "GetSetZOrderMediaOverlay_ZHandler", ApiSince=36)>]
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 TvAdView's surface is placed on top of other regular surface views in the window (but still behind the window itself).
Calling this overrides any previous call to #setZOrderOnTop
.
Java documentation for android.media.tv.ad.TvAdView.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.