TvInteractiveAppService.Session.OnSurfaceChanged(Int32, Int32, Int32) 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.
Called after any structural changes (format or size) have been made to the surface passed
in #onSetSurface
.
[Android.Runtime.Register("onSurfaceChanged", "(III)V", "GetOnSurfaceChanged_IIIHandler", ApiSince=33)]
public virtual void OnSurfaceChanged (int format, int width, int height);
[<Android.Runtime.Register("onSurfaceChanged", "(III)V", "GetOnSurfaceChanged_IIIHandler", ApiSince=33)>]
abstract member OnSurfaceChanged : int * int * int -> unit
override this.OnSurfaceChanged : int * int * int -> unit
Parameters
- format
- Int32
The new PixelFormat
of the surface.
- width
- Int32
The new width of the surface.
- height
- Int32
The new height of the surface.
- Attributes
Remarks
Called after any structural changes (format or size) have been made to the surface passed in #onSetSurface
. This method is always called at least once, after #onSetSurface
is called with non-null 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.