Freigeben über


RingtoneManager.IsDefault(Uri) Method

Definition

Returns whether the given Uri is one of the default ringtones.

[Android.Runtime.Register("isDefault", "(Landroid/net/Uri;)Z", "")]
public static bool IsDefault (Android.Net.Uri? ringtoneUri);
[<Android.Runtime.Register("isDefault", "(Landroid/net/Uri;)Z", "")>]
static member IsDefault : Android.Net.Uri -> bool

Parameters

ringtoneUri
Uri

The ringtone Uri to be checked.

Returns

Whether the Uri is a default.

Attributes

Remarks

Returns whether the given Uri is one of the default ringtones.

Java documentation for android.media.RingtoneManager.isDefault(android.net.Uri).

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