Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. MediaPlayer
  3. MPMediaItemCollection
  4. GetObject(NSObject)
  • MPMediaItemCollection
    • MPMediaItemCollection(IntPtr)
    • MPMediaItemCollection(MPMediaItem[])
    • MPMediaItemCollection(NativeHandle)
    • MPMediaItemCollection(NSCoder)
    • MPMediaItemCollection(NSObjectFlag)
    • ClassHandle
    • Count
    • Items
    • MediaTypes
    • PropertyPersistentID
    • RepresentativeItem
    • CanFilterByProperty(NSString)
    • EncodeTo(NSCoder)
    • EnumerateValues(NSSet, MPMediaItemEnumerator)
    • FromItems(MPMediaItem[])
    • GetObject(NSObject)
    • ValueForProperty(NSString)
xamarinios
namespace MediaPlayer
{
    [Register("MPMediaItemCollection", true)]
    [Unavailable(PlatformName.MacOSX, PlatformArchitecture.All, null)]
    [Unavailable(PlatformName.TvOS, PlatformArchitecture.All, null)]
    [Unavailable(PlatformName.WatchOS, PlatformArchitecture.All, null)]
    public class MPMediaItemCollection : MPMediaEntity, INSCoding, INSSecureCoding, INativeObject, IDisposable
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [Export("objectForKeyedSubscript:")]
        [Introduced(PlatformName.iOS, 8, 0, PlatformArchitecture.All, null)]
        [Introduced(PlatformName.WatchOS, 5, 0, PlatformArchitecture.All, null)]
        [Introduced(PlatformName.MacOSX, 10, 12, 2, PlatformArchitecture.All, null)]
        public virtual NSObject! GetObject(NSObject! key);
    }
}
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 🗙