TvInputManager.IsRatingBlocked(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.
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.
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.