Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. MediaPlayer
  3. MPMediaLibrary
  4. MPMediaLibrary(IntPtr)
  • MPMediaLibrary
    • Notifications
    • MPMediaLibrary()
    • MPMediaLibrary(IntPtr)
    • MPMediaLibrary(NativeHandle)
    • MPMediaLibrary(NSCoder)
    • MPMediaLibrary(NSObjectFlag)
    • AuthorizationStatus
    • ClassHandle
    • DefaultMediaLibrary
    • DidChangeNotification
    • LastModifiedDate
    • AddItem(String, Action<MPMediaEntity[], NSError>)
    • AddItemAsync(String)
    • BeginGeneratingLibraryChangeNotifications()
    • EncodeTo(NSCoder)
    • EndGeneratingLibraryChangeNotifications()
    • GetPlaylist(NSUuid, MPMediaPlaylistCreationMetadata, Action<MPMediaPlaylist, NSError>)
    • GetPlaylistAsync(NSUuid, MPMediaPlaylistCreationMetadata)
    • RequestAuthorization(Action<MPMediaLibraryAuthorizationStatus>)
    • RequestAuthorizationAsync()
xamarinios
namespace MediaPlayer
{
    [Register("MPMediaLibrary", true)]
    [Unavailable(PlatformName.MacOSX, PlatformArchitecture.All, null)]
    [Unavailable(PlatformName.TvOS, PlatformArchitecture.All, null)]
    [Unavailable(PlatformName.WatchOS, PlatformArchitecture.All, null)]
    public class MPMediaLibrary : NSObject, INSCoding, INSSecureCoding, INativeObject, IDisposable
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [EditorBrowsable(EditorBrowsableState.Advanced)]
        protected internal MPMediaLibrary(IntPtr handle);
    }
}
Xamarin iOS
0.0
Information specific to xamarinios
Assembly

Xamarin.iOS , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API
Search

03/18/2025
An error has occurred. This application may no longer respond until reloaded. Reload 🗙