dotnet / dotnet/macios

Make MPMediaItem and MPMediaEntity consistent across platforms

Open
#17,291 0 comments 0 reactions 0 assignees View on GitHub
breaking-change
Dominant language
C#
Stars
2.9k
Forks
576
Avg merge
2d 12h
Merged PRs (30d)
123

Description

For historical reasons, the implementation of MPMediaItem and MPMediaEntity are very different between platforms:

https://github.com/xamarin/xamarin-macios/blob/3e8381091078cac387623d6b28a82085c3052b43/src/mediaplayer.cs#L45-L275

Part of the solution might involve moving the fields to a different type (say MPMediaItemProperty): https://github.com/xamarin/xamarin-macios/blob/3e8381091078cac387623d6b28a82085c3052b43/src/mediaplayer.cs#L112-L274

but more changes will be needed. This will likely be a breaking change, so marking this issue as such.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.