Share via


TvContentRating.UnflattenFromString(String) Method

Definition

Recovers a TvContentRating object from the string that was previously created from #flattenToString.

[Android.Runtime.Register("unflattenFromString", "(Ljava/lang/String;)Landroid/media/tv/TvContentRating;", "")]
public static Android.Media.TV.TvContentRating? UnflattenFromString (string? ratingString);
[<Android.Runtime.Register("unflattenFromString", "(Ljava/lang/String;)Landroid/media/tv/TvContentRating;", "")>]
static member UnflattenFromString : string -> Android.Media.TV.TvContentRating

Parameters

ratingString
String

The string returned by #flattenToString.

Returns

the TvContentRating object containing the domain, rating system, rating and sub-ratings information encoded in ratingString.

Attributes

Remarks

Recovers a TvContentRating object from the string that was previously created from #flattenToString.

Java documentation for android.media.tv.TvContentRating.unflattenFromString(java.lang.String).

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

See also