TvInputService.HardwareSession.OnSetSurface(Surface) Method

Definition

This method will not be called in HardwareSession.

[Android.Runtime.Register("onSetSurface", "(Landroid/view/Surface;)Z", "")]
public override sealed bool OnSetSurface (Android.Views.Surface? surface);
[<Android.Runtime.Register("onSetSurface", "(Landroid/view/Surface;)Z", "")>]
override this.OnSetSurface : Android.Views.Surface -> bool

Parameters

surface
Surface

Returns

Attributes

Remarks

This method will not be called in HardwareSession. Framework will forward the application's surface to the hardware TV input.

Java documentation for android.media.tv.TvInputService.HardwareSession.onSetSurface(android.view.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.

Applies to