다음을 통해 공유


TvInteractiveAppService.Session.LayoutSurface Method

Definition

Assigns a size and position to the surface passed in #onSetSurface.

[Android.Runtime.Register("layoutSurface", "(IIII)V", "GetLayoutSurface_IIIIHandler", ApiSince=33)]
public virtual void LayoutSurface (int left, int top, int right, int bottom);
[<Android.Runtime.Register("layoutSurface", "(IIII)V", "GetLayoutSurface_IIIIHandler", ApiSince=33)>]
abstract member LayoutSurface : int * int * int * int -> unit
override this.LayoutSurface : int * int * int * int -> unit

Parameters

left
Int32

Left position in pixels, relative to the overlay view.

top
Int32

Top position in pixels, relative to the overlay view.

right
Int32

Right position in pixels, relative to the overlay view.

bottom
Int32

Bottom position in pixels, relative to the overlay view.

Attributes

Remarks

Assigns a size and position to the surface passed in #onSetSurface. The position is relative to the overlay view that sits on top of this surface.

Java documentation for android.media.tv.interactive.TvInteractiveAppService.Session.layoutSurface(int, int, int, int).

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