Share via


TvView.SetInteractiveAppNotificationEnabled(Boolean) Method

Definition

Enables or disables interactive app notification.

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

Parameters

enabled
Boolean

true if you want to enable interactive app notifications. false otherwise.

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.TvView.setInteractiveAppNotificationEnabled(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