Share via


TvView.TvInputCallback.OnContentAllowed(String) Method

Definition

This is called when the current program content turns out to be allowed to watch since its content rating is not blocked by parental controls.

[Android.Runtime.Register("onContentAllowed", "(Ljava/lang/String;)V", "GetOnContentAllowed_Ljava_lang_String_Handler")]
public virtual void OnContentAllowed (string? inputId);
[<Android.Runtime.Register("onContentAllowed", "(Ljava/lang/String;)V", "GetOnContentAllowed_Ljava_lang_String_Handler")>]
abstract member OnContentAllowed : string -> unit
override this.OnContentAllowed : string -> unit

Parameters

inputId
String

The ID of the TV input bound to this view.

Attributes

Remarks

This is called when the current program content turns out to be allowed to watch since its content rating is not blocked by parental controls.

Java documentation for android.media.tv.TvView.TvInputCallback.onContentAllowed(java.lang.String).

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