RingtoneManager.GetDefaultType(Uri) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the type of a default Uri
.
[Android.Runtime.Register("getDefaultType", "(Landroid/net/Uri;)I", "")]
public static Android.Media.RingtoneType GetDefaultType (Android.Net.Uri? defaultRingtoneUri);
[<Android.Runtime.Register("getDefaultType", "(Landroid/net/Uri;)I", "")>]
static member GetDefaultType : Android.Net.Uri -> Android.Media.RingtoneType
Parameters
- defaultRingtoneUri
- Uri
The default Uri
. For example,
System#DEFAULT_RINGTONE_URI
,
System#DEFAULT_NOTIFICATION_URI
, or
System#DEFAULT_ALARM_ALERT_URI
.
Returns
The type of the defaultRingtoneUri, or -1.
- Attributes
Remarks
Returns the type of a default Uri
.
Java documentation for android.media.RingtoneManager.getDefaultType(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.