TvView.TvInputCallback.OnContentBlocked(String, TvContentRating) 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 is called when the current program content turns out to be not allowed to watch since its content rating is blocked by parental controls.
[Android.Runtime.Register("onContentBlocked", "(Ljava/lang/String;Landroid/media/tv/TvContentRating;)V", "GetOnContentBlocked_Ljava_lang_String_Landroid_media_tv_TvContentRating_Handler")]
public virtual void OnContentBlocked (string? inputId, Android.Media.TV.TvContentRating? rating);
[<Android.Runtime.Register("onContentBlocked", "(Ljava/lang/String;Landroid/media/tv/TvContentRating;)V", "GetOnContentBlocked_Ljava_lang_String_Landroid_media_tv_TvContentRating_Handler")>]
abstract member OnContentBlocked : string * Android.Media.TV.TvContentRating -> unit
override this.OnContentBlocked : string * Android.Media.TV.TvContentRating -> unit
Parameters
- inputId
- String
The ID of the TV input bound to this view.
- rating
- TvContentRating
The content rating of the blocked program.
- Attributes
Remarks
This is called when the current program content turns out to be not allowed to watch since its content rating is blocked by parental controls.
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.