TvInputService.HardwareSession.OnSetSurface(Surface) 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.
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.
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.