Partager via


RingtoneManager.GetRingtoneUri(Int32) Method

Definition

Gets a Uri for the ringtone at the given position in the Cursor.

[Android.Runtime.Register("getRingtoneUri", "(I)Landroid/net/Uri;", "GetGetRingtoneUri_IHandler")]
public virtual Android.Net.Uri? GetRingtoneUri (int position);
[<Android.Runtime.Register("getRingtoneUri", "(I)Landroid/net/Uri;", "GetGetRingtoneUri_IHandler")>]
abstract member GetRingtoneUri : int -> Android.Net.Uri
override this.GetRingtoneUri : int -> Android.Net.Uri

Parameters

position
Int32

The position (in the Cursor) of the ringtone.

Returns

Uri

A Uri pointing to the ringtone.

Attributes

Remarks

Gets a Uri for the ringtone at the given position in the Cursor.

Java documentation for android.media.RingtoneManager.getRingtoneUri(int).

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