-
Notifications
You must be signed in to change notification settings - Fork 576
[AVFoundation] Add missing categories from Xcode 9 and add new API from Xcode 9.1 #2919
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
mandel-macaque
merged 4 commits into
dotnet:xcode9.1
from
mandel-macaque:avfoundation-xcode9.1
Oct 30, 2017
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
db7794e
[AVFoundation] Add missing categories from Xcode 9 and add new API fr…
mandel-macaque d8bef4e
Addresses review comments. Added missinf attr, Get* to those methods …
mandel-macaque ea156eb
Remove not correct use of async attr. Add missing smart enum property.
mandel-macaque ab9f2c5
Updated bidings as per reviews. Mainly added NoMac when possible and …
mandel-macaque File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
src/AVFoundation/AudioRendererWasFlushedAutomaticallyEventArgs.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| #if !WATCH | ||
| using XamCore.Foundation; | ||
| using XamCore.CoreMedia; | ||
| using XamCore.ObjCRuntime; | ||
|
|
||
| namespace XamCore.AVFoundation { | ||
|
|
||
| [TV (11, 0), NoWatch, Mac (10, 13), iOS (11, 0)] | ||
| public partial class AudioRendererWasFlushedAutomaticallyEventArgs { | ||
| public CMTime AudioRendererFlushTime { | ||
| get { | ||
| return _AudioRendererFlushTime.CMTimeValue; | ||
| } | ||
| } | ||
| } | ||
| } | ||
| #endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NoMac, NoTV and NoWatch missing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It already has a [NoTV, NoWatch] in the top of the enum and it is inside a #if !MONOMAC which means that is not necessary, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah technically it is not needed but I think it was the plan that at some point we would get rid of those conditionals if possible so having that metadata there won't hurt I guess, unless @spouliot says otherwise :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'd get rid of
#if !MONOMAC, not of availability attributes on the parent (so lack of[NoTV, NoWatch]still valid).We could just add a
[NoMac]topublic enum AVCaptureSessionInterruptionReasonbut that would be just noise in this case, better do it for things we add.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
k, we'll soon have xtro results so it will be easier to spot them :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, leaving as it is to reduce noise in the diff. We can do this later for new types or in a pr just to get rid of the #if !MONOMAC