TvContentRating.CreateRating(String, String, String, String[]) 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.
Creates a TvContentRating
object with predefined content rating strings.
[Android.Runtime.Register("createRating", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Landroid/media/tv/TvContentRating;", "")]
public static Android.Media.TV.TvContentRating? CreateRating (string? domain, string? ratingSystem, string? rating, params string[]? subRatings);
[<Android.Runtime.Register("createRating", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Landroid/media/tv/TvContentRating;", "")>]
static member CreateRating : string * string * string * string[] -> Android.Media.TV.TvContentRating
Parameters
- domain
- String
The domain string. For example, "com.android.tv".
- ratingSystem
- String
The rating system string. For example, "US_TV".
- rating
- String
The content rating string. For example, "US_TV_PG".
- subRatings
- String[]
The sub-rating strings. For example, "US_TV_D" and "US_TV_L".
Returns
A TvContentRating
object.
- Attributes
Remarks
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.