TvInteractiveAppService.Session.LayoutSurface 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.
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.
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.