Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/AVFoundation/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,8 @@ public enum AVAudioSessionCategoryOptions : ulong {
OverrideMutedMicrophoneInterruption = 128,
[iOS (26, 0), NoTV, NoMacCatalyst, NoMac]
BluetoothHighQualityRecording = 1uL << 19,
[iOS (26, 2), NoTV, MacCatalyst (26, 2), NoMac]
FarFieldInput = 1uL << 18,
}

/// <summary>An enumeration whose values specify the beginning and ending of an audio interruption.</summary>
Expand Down
20 changes: 20 additions & 0 deletions src/avfoundation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4325,6 +4325,10 @@ enum AVAudioSessionMode {
[MacCatalyst (26, 0), NoTV, NoMac, iOS (26, 0)]
[Field ("AVAudioSessionModeShortFormVideo")]
ShortFormVideo,

[MacCatalyst (26, 2), NoTV, NoMac, iOS (26, 2)]
[Field ("AVAudioSessionModeDualRoute")]
DualRoute,
}

[NoMac]
Expand Down Expand Up @@ -18681,6 +18685,18 @@ that the camera can focus and one representing the furthest
[TV (26, 0), MacCatalyst (26, 0), Mac (26, 0), iOS (26, 0)]
[Export ("cameraLensSmudgeDetectionStatus")]
AVCaptureCameraLensSmudgeDetectionStatus CameraLensSmudgeDetectionStatus { get; }

// From the AVCaptureDeviceEdgeLight (AVCaptureDevice) category

[TV (26, 2), MacCatalyst (26, 2), Mac (26, 2), iOS (26, 2)]
[Static]
[Export ("edgeLightEnabled")]
bool EdgeLightEnabled { [Bind ("isEdgeLightEnabled")] get; }

[TV (26, 2), MacCatalyst (26, 2), Mac (26, 2), iOS (26, 2)]
[Static]
[Export ("edgeLightActive")]
bool EdgeLightActive { [Bind ("isEdgeLightActive")] get; }
}

[TV (26, 0), MacCatalyst (26, 0), Mac (26, 0), iOS (26, 0)]
Expand Down Expand Up @@ -19087,6 +19103,10 @@ interface AVCaptureDeviceFormat {
[NoTV, NoMacCatalyst, NoMac, iOS (26, 0)]
[Export ("smartFramingSupported")]
bool SmartFramingSupported { [Bind ("isSmartFramingSupported")] get; }

[TV (26, 2), MacCatalyst (26, 2), Mac (26, 2), iOS (26, 2)]
[Export ("edgeLightSupported")]
bool EdgeLightSupported { [Bind ("isEdgeLightSupported")] get; }
}

[TV (26, 0), MacCatalyst (26, 0), Mac (26, 0), iOS (26, 0)]
Expand Down
5 changes: 5 additions & 0 deletions tests/cecil-tests/Documentation.KnownFailures.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1244,6 +1244,7 @@ F:AVFoundation.AVAudioRoutingArbitrationCategory.PlayAndRecord
F:AVFoundation.AVAudioRoutingArbitrationCategory.PlayAndRecordVoice
F:AVFoundation.AVAudioRoutingArbitrationCategory.Playback
F:AVFoundation.AVAudioSessionCategoryOptions.BluetoothHighQualityRecording
F:AVFoundation.AVAudioSessionCategoryOptions.FarFieldInput
F:AVFoundation.AVAudioSessionCategoryOptions.OverrideMutedMicrophoneInterruption
F:AVFoundation.AVAudioSessionErrorCode.ExpiredSession
F:AVFoundation.AVAudioSessionErrorCode.SessionNotActive
Expand All @@ -1254,6 +1255,7 @@ F:AVFoundation.AVAudioSessionInterruptionReason.RouteDisconnected
F:AVFoundation.AVAudioSessionMicrophoneInjectionMode.None
F:AVFoundation.AVAudioSessionMicrophoneInjectionMode.SpokenAudio
F:AVFoundation.AVAudioSessionMode.Default
F:AVFoundation.AVAudioSessionMode.DualRoute
F:AVFoundation.AVAudioSessionMode.GameChat
F:AVFoundation.AVAudioSessionMode.Measurement
F:AVFoundation.AVAudioSessionMode.MoviePlayback
Expand Down Expand Up @@ -19061,6 +19063,8 @@ P:AVFoundation.AVCaptureDevice.CenterStageActive
P:AVFoundation.AVCaptureDevice.CenterStageEnabled
P:AVFoundation.AVCaptureDevice.CinematicVideoCaptureSceneMonitoringStatuses
P:AVFoundation.AVCaptureDevice.ContinuityCamera
P:AVFoundation.AVCaptureDevice.EdgeLightActive
P:AVFoundation.AVCaptureDevice.EdgeLightEnabled
P:AVFoundation.AVCaptureDevice.ExposureRectOfInterestSupported
P:AVFoundation.AVCaptureDevice.FaceDrivenAutoExposureEnabled
P:AVFoundation.AVCaptureDevice.FaceDrivenAutoFocusEnabled
Expand All @@ -19080,6 +19084,7 @@ P:AVFoundation.AVCaptureDeviceFormat.BackgroundReplacementSupported
P:AVFoundation.AVCaptureDeviceFormat.CameraLensSmudgeDetectionSupported
P:AVFoundation.AVCaptureDeviceFormat.CenterStageSupported
P:AVFoundation.AVCaptureDeviceFormat.CinematicVideoCaptureSupported
P:AVFoundation.AVCaptureDeviceFormat.EdgeLightSupported
P:AVFoundation.AVCaptureDeviceFormat.GlobalToneMappingSupported
P:AVFoundation.AVCaptureDeviceFormat.HighestPhotoQualitySupported
P:AVFoundation.AVCaptureDeviceFormat.HighPhotoQualitySupported
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading