-
Notifications
You must be signed in to change notification settings - Fork 548
Open
Labels
enhancementThe issue or pull request is an enhancementThe issue or pull request is an enhancementgood first issueThis is a good first issue for someone to start working with our codeThis is a good first issue for someone to start working with our codehelp 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 completemacOSIssues affecting macOSIssues affecting macOSmissing-api-bindings
Milestone
Description
I originally posted this question on StackOverflow as per the wiki, however I've been suggested that this can actually be a valid GitHub issue asking about missing bindings.
I'd like to use CGDisplayStream API using Xamarin for MacOS, however it seems that there are no bindings for it yet.
My goal is to attempt to rewrite a PoC application using CGDisplayStream API from Swift to F#, so I thought it would be worth giving .net-6.0-macos target a try.
I browsed the code in https://github.com/xamarin/xamarin-macios/tree/main/src/CoreGraphics and didn't find any references to CGDisplayStream, the only place where I could find trace about this type was Wiki on Bindings: 1, 2, 3, but I'm not really sure how to read these pages.
- Are these bindings currently missing?
- If so, is that because there was no prior demand to incorporate those APIs, or is there something special about CGDisplayStream that makes it hard to bring into Xamarin?
- If it's just about lack of demand, could someone guide me on how to potentially contribute adding such bindings?
- Alternatively, is it even worth considering doing it the other way round, i.e. targeting .net-6.0 runtime instead of .net-6.0-macos and then trying invoking CGDisplayStream API via PInvoke? Or is that all not worth a hassle and I should just continue with a more native MacOS toolchain (Swift)?
Metadata
Metadata
Assignees
Labels
enhancementThe issue or pull request is an enhancementThe issue or pull request is an enhancementgood first issueThis is a good first issue for someone to start working with our codeThis is a good first issue for someone to start working with our codehelp 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 completemacOSIssues affecting macOSIssues affecting macOSmissing-api-bindings