-
Notifications
You must be signed in to change notification settings - Fork 548
Open
Labels
api-bindingsenhancementThe issue or pull request is an enhancementThe issue or pull request is an enhancementhelp wantedThis is an issue or pull request where we request help from the community to fix or completeThis is an issue or pull request where we request help from the community to fix or complete
Milestone
Description
I am in the process of migrating my apps from legacy Xamarin to .NET6.
Previously, I could use AVFileType.Mpeg4 to set the property OutputFileType of AVAssetExportSession.
Now the AVFileType type has gone and I have to use AVFileTypes.Mpeg4.GetConstant() instead (correct?).
Wouldn't it make sense to then also change the OutputFileType (and SupportedFileTypes) property types of AVAssetExportSession to AVFileType? and AVFileType[] respectively?
This would then also better match the types documented by Apple: https://developer.apple.com/documentation/avfoundation/avassetexportsession/1387110-outputfiletype
For developers it is not intuitive to use a method on an enum to get the string required.
Metadata
Metadata
Assignees
Labels
api-bindingsenhancementThe issue or pull request is an enhancementThe issue or pull request is an enhancementhelp wantedThis is an issue or pull request where we request help from the community to fix or completeThis is an issue or pull request where we request help from the community to fix or complete