Udostępnij za pośrednictwem


TvView.TvInputCallback.OnVideoSizeChanged(String, Int32, Int32) Method

Definition

This is invoked when the video size has been changed.

[Android.Runtime.Register("onVideoSizeChanged", "(Ljava/lang/String;II)V", "GetOnVideoSizeChanged_Ljava_lang_String_IIHandler")]
public virtual void OnVideoSizeChanged (string? inputId, int width, int height);
[<Android.Runtime.Register("onVideoSizeChanged", "(Ljava/lang/String;II)V", "GetOnVideoSizeChanged_Ljava_lang_String_IIHandler")>]
abstract member OnVideoSizeChanged : string * int * int -> unit
override this.OnVideoSizeChanged : string * int * int -> unit

Parameters

inputId
String

The ID of the TV input bound to this view.

width
Int32

The width of the video.

height
Int32

The height of the video.

Attributes

Remarks

This is invoked when the video size has been changed. It is also called when the first time video size information becomes available after this view is tuned to a specific channel.

Java documentation for android.media.tv.TvView.TvInputCallback.onVideoSizeChanged(java.lang.String, 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