TvInputService.Session.OnSetInteractiveAppNotificationEnabled(Boolean) Method

Definition

Enables or disables interactive app notification.

[Android.Runtime.Register("onSetInteractiveAppNotificationEnabled", "(Z)V", "GetOnSetInteractiveAppNotificationEnabled_ZHandler", ApiSince=33)]
public virtual void OnSetInteractiveAppNotificationEnabled (bool enabled);
[<Android.Runtime.Register("onSetInteractiveAppNotificationEnabled", "(Z)V", "GetOnSetInteractiveAppNotificationEnabled_ZHandler", ApiSince=33)>]
abstract member OnSetInteractiveAppNotificationEnabled : bool -> unit
override this.OnSetInteractiveAppNotificationEnabled : bool -> unit

Parameters

enabled
Boolean

true to enable, false to disable.

Attributes

Remarks

Enables or disables interactive app notification.

This method enables or disables the event detection from the corresponding TV input. When it's enabled, the TV input service detects events related to interactive app, such as AIT (Application Information Table) and sends to TvView or the linked TV interactive app service.

Java documentation for android.media.tv.TvInputService.Session.onSetInteractiveAppNotificationEnabled(boolean).

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