Freigeben über


TvInputManager.IsRatingBlocked(TvContentRating) Method

Definition

Checks whether a given TV content rating is blocked by the user.

[Android.Runtime.Register("isRatingBlocked", "(Landroid/media/tv/TvContentRating;)Z", "")]
public bool IsRatingBlocked (Android.Media.TV.TvContentRating rating);
[<Android.Runtime.Register("isRatingBlocked", "(Landroid/media/tv/TvContentRating;)Z", "")>]
member this.IsRatingBlocked : Android.Media.TV.TvContentRating -> bool

Parameters

rating
TvContentRating

The TV content rating to check. Can be TvContentRating#UNRATED.

Returns

true if the given TV content rating is blocked, false otherwise.

Attributes

Remarks

Checks whether a given TV content rating is blocked by the user.

Java documentation for android.media.tv.TvInputManager.isRatingBlocked(android.media.tv.TvContentRating).

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