- Notifications
You must be signed in to change notification settings - Fork 548
BrowserEngineCore iOS xcode26.0 b1
Rolf Bjarne Kvinge edited this page Aug 28, 2025 · 3 revisions
#BrowserEngineCore.framework https://github.com/dotnet/macios/pull/23659
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineCore.framework/Headers/BEAudioSession.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineCore.framework/Headers/BEAudioSession.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineCore.framework/Headers/BEAudioSession.h 1969-12-31 19:00:00 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineCore.framework/Headers/BEAudioSession.h 2025-05-25 02:38:23 @@ -0,0 +1,39 @@ +// +// BEAudioSession.h +// BrowserEngineCore +// + +#import <Foundation/Foundation.h> +#import <BrowserEngineCore/BEMacros.h> + +NS_ASSUME_NONNULL_BEGIN + +@class AVAudioSession; +@class AVAudioSessionPortDescription; + +/// An object that represents an audio session +API_AVAILABLE(ios(26.0)) +API_UNAVAILABLE(macos, watchos, tvos, visionos) +@interface BEAudioSession : NSObject + +/// Creates a BE audio session from an AV audio session +/// +/// - Parameters: +/// - session: The AV audio session +-(instancetype)initWithAudioSession:(AVAudioSession*)audioSession; + +/// Gets the set of output ports that are available for routing. +@property (readonly, nullable) NSArray<AVAudioSessionPortDescription *> *availableOutputs; + +/*! + @brief Select a preferred output port for audio routing. + Setting a nil value will clear the preference. +*/ +- (BOOL)setPreferredOutput:(nullable AVAudioSessionPortDescription *)outPort error:(NSError **)outError; + +/// Get the preferred output port. Will be nil if no preference has been set. +@property (readonly, nullable) AVAudioSessionPortDescription *preferredOutput; + +@end + +NS_ASSUME_NONNULL_END diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineCore.framework/Headers/BrowserEngineCore.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineCore.framework/Headers/BrowserEngineCore.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineCore.framework/Headers/BrowserEngineCore.h 2025-04-19 05:35:41 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineCore.framework/Headers/BrowserEngineCore.h 2025-05-25 02:38:23 @@ -4,6 +4,7 @@ #import <Foundation/Foundation.h> +#import <BrowserEngineCore/BEAudioSession.h> #import <BrowserEngineCore/BEMacros.h> #import <BrowserEngineCore/BEMemory.h> #import <BrowserEngineCore/BEkevent.h>