共用方式為


TvInteractiveAppView.SetTvView(TvView) Method

Definition

Sets the TvInteractiveAppView to receive events from TIS.

[Android.Runtime.Register("setTvView", "(Landroid/media/tv/TvView;)I", "GetSetTvView_Landroid_media_tv_TvView_Handler", ApiSince=33)]
public virtual int SetTvView (Android.Media.TV.TvView? tvView);
[<Android.Runtime.Register("setTvView", "(Landroid/media/tv/TvView;)I", "GetSetTvView_Landroid_media_tv_TvView_Handler", ApiSince=33)>]
abstract member SetTvView : Android.Media.TV.TvView -> int
override this.SetTvView : Android.Media.TV.TvView -> int

Parameters

tvView
TvView

the TvView to be linked to this TvInteractiveAppView via linking of Sessions.

Returns

The result of the operation.

Attributes

Remarks

Sets the TvInteractiveAppView to receive events from TIS. This method links the session of TvInteractiveAppManager to TvInputManager session, so the TIAS can get the TIS events.

Java documentation for android.media.tv.interactive.TvInteractiveAppView.setTvView(android.media.tv.TvView).

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