Partager via


MediaStore.Audio.Playlists.Members.MoveItem Method

Definition

Convenience method to move a playlist item to a new location

[Android.Runtime.Register("moveItem", "(Landroid/content/ContentResolver;JII)Z", "")]
public static bool MoveItem (Android.Content.ContentResolver? res, long playlistId, int from, int to);
[<Android.Runtime.Register("moveItem", "(Landroid/content/ContentResolver;JII)Z", "")>]
static member MoveItem : Android.Content.ContentResolver * int64 * int * int -> bool

Parameters

res
ContentResolver

The content resolver to use

playlistId
Int64

The numeric id of the playlist

from
Int32

The position of the item to move

to
Int32

The position to move the item to

Returns

Attributes

Remarks

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