Condividi tramite


TvContentRating.FlattenToString Method

Definition

Returns a string that unambiguously describes the rating information contained in a TvContentRating object.

[Android.Runtime.Register("flattenToString", "()Ljava/lang/String;", "")]
public string? FlattenToString ();
[<Android.Runtime.Register("flattenToString", "()Ljava/lang/String;", "")>]
member this.FlattenToString : unit -> string

Returns

a string containing the rating information, which can later be stored in the database.

Attributes

Remarks

Returns a string that unambiguously describes the rating information contained in a TvContentRating object. One can later recover the object from this string through #unflattenFromString.

Java documentation for android.media.tv.TvContentRating.flattenToString().

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