Aracılığıyla paylaş


MediaMetadata.GetRating(String) Method

Definition

Returns a Rating for the given key or null if no rating exists for the given key.

[Android.Runtime.Register("getRating", "(Ljava/lang/String;)Landroid/media/Rating;", "")]
public Android.Media.Rating? GetRating (string? key);
[<Android.Runtime.Register("getRating", "(Ljava/lang/String;)Landroid/media/Rating;", "")>]
member this.GetRating : string -> Android.Media.Rating

Parameters

key
String

The key the value is stored under

Returns

A Rating or null

Attributes

Remarks

Returns a Rating for the given key or null if no rating exists for the given key.

Java documentation for android.media.MediaMetadata.getRating(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