Udostępnij za pośrednictwem


Settings.System.DefaultRingtoneUri Property

Definition

A Uri that will point to the current default ringtone at any given time.

[Android.Runtime.Register("DEFAULT_RINGTONE_URI")]
public static Android.Net.Uri? DefaultRingtoneUri { get; }
[<Android.Runtime.Register("DEFAULT_RINGTONE_URI")>]
static member DefaultRingtoneUri : Android.Net.Uri

Property Value

Uri
Attributes

Remarks

A Uri that will point to the current default ringtone at any given time.

If the current default ringtone is in the DRM provider and the caller does not have permission, the exception will be a FileNotFoundException.

Java documentation for android.provider.Settings.System.DEFAULT_RINGTONE_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