Idioma

TvInteractiveAppService.Session.OnSurfaceChanged(Int32, Int32, Int32) Método

Definição

Chamado após alterações estruturais (formato ou tamanho) terem sido feitas na superfície passada.#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

Parâmetros

format
Int32

O novo PixelFormat da superfície.

width
Int32

A nova largura da superfície.

height
Int32

A nova altura da superfície.

Atributos

Comentários

Chamado após alterações estruturais (formato ou tamanho) terem sido feitas na superfície passada.#onSetSurface Esse método é sempre chamado pelo menos uma vez, depois #onSetSurface de ser chamado com superfície não nula.

Java documentação para android.media.tv.interactive.TvInteractiveAppService.Session.onSurfaceChanged(int, int, int).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a