RingtoneManager.GetRingtonePosition(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.
Gets the position of a Uri
within this RingtoneManager
.
[Android.Runtime.Register("getRingtonePosition", "(Landroid/net/Uri;)I", "GetGetRingtonePosition_Landroid_net_Uri_Handler")]
public virtual int GetRingtonePosition (Android.Net.Uri? ringtoneUri);
[<Android.Runtime.Register("getRingtonePosition", "(Landroid/net/Uri;)I", "GetGetRingtonePosition_Landroid_net_Uri_Handler")>]
abstract member GetRingtonePosition : Android.Net.Uri -> int
override this.GetRingtonePosition : Android.Net.Uri -> int
Parameters
- ringtoneUri
- Uri
The Uri
to retreive the position of.
Returns
The position of the Uri
, or -1 if it cannot be found.
- Attributes
Remarks
Gets the position of a Uri
within this RingtoneManager
.
Java documentation for android.media.RingtoneManager.getRingtonePosition(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.