語言

TvInteractiveAppService.Session.OnSurfaceChanged(Int32, Int32, Int32) 方法

定義

在經過的表面 #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

參數

format
Int32

地表的新事物 PixelFormat 。

width
Int32

新的表面寬度。

height
Int32

地表的新高度。

屬性

備註

在經過的表面 #onSetSurface進行任何結構(格式或尺寸)變更後,呼叫。 此方法至少會被呼叫一次,之後 #onSetSurface 是非空曲面。

Java 文件 android.media.tv.interactive.TvInteractiveAppService.Session.onSurfaceChanged(int, int, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於