/// <summary> /// Update the playlist by lastest info. /// </summary> /// <since_tizen> 5 </since_tizen> public void Update() { // Update the name of playlist. Name = NativePlaylist.GetPlaylistName(Handle); // Update metadata. UpdateMetadata(Handle); }
/// <summary> /// Initializes a new instance of the <see cref="MediaControlPlaylist"/> class with the playlist handle that created already. /// </summary> /// <param name="handle">The handle of playlist.</param> internal MediaControlPlaylist(IntPtr handle) { if (handle == IntPtr.Zero) { throw new ArgumentNullException(nameof(handle)); } // handle will be destroyed in Native FW side. Name = NativePlaylist.GetPlaylistName(handle); UpdateMetadata(handle); }