다음을 통해 공유


TvContentRating.Unrated Property

Definition

Rating constant denoting unrated content.

[Android.Runtime.Register("UNRATED", ApiSince=23)]
public static Android.Media.TV.TvContentRating? Unrated { get; }
[<Android.Runtime.Register("UNRATED", ApiSince=23)>]
static member Unrated : Android.Media.TV.TvContentRating

Property Value

Attributes

Remarks

Rating constant denoting unrated content. Used to handle the case where the content rating information is missing.

TV input services can call TvInputManager#isRatingBlocked with this constant to determine whether they should block unrated content. The subsequent call to TvInputService.Session#notifyContentBlocked with the same constant notifies applications that the current program content is blocked by parental controls.

Java documentation for android.media.tv.TvContentRating.UNRATED.

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