Skip to content

DeviceDiscoveryExtension iOS xcode14.0 beta3

Israel Soto edited this page Aug 24, 2022 · 3 revisions

#DeviceDiscoveryExtension.framework https://github.com/xamarin/xamarin-macios/pull/15741

diff -ruN /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/DeviceDiscoveryExtension.framework/Headers/DDDevice.h /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/DeviceDiscoveryExtension.framework/Headers/DDDevice.h
--- /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/DeviceDiscoveryExtension.framework/Headers/DDDevice.h	2022-06-17 10:26:53.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/DeviceDiscoveryExtension.framework/Headers/DDDevice.h	2022-06-30 21:00:07.000000000 -0500
@@ -29,20 +29,6 @@
 
 //---------------------------------------------------------------------------------------------------------------------------
 
-/// Flags for the device.
-typedef NS_OPTIONS( NSUInteger, DDDeviceFlags )
-{
-	DDDeviceFlagsNone				= 0,			/// No flags.
-	DDDeviceFlagsSupportsAudio		= ( 1U << 1 ),	/// Supports playback of audio content.
-	DDDeviceFlagsSupportsVideo		= ( 1U << 2 ),	/// Supports playback of video content.
-};
-
-/// Converts a device flags to a string for logging, etc.
-API_AVAILABLE( ios( 16.0 ) )
-NSString * DDDeviceFlagsToString( DDDeviceFlags inFlags );
-
-//---------------------------------------------------------------------------------------------------------------------------
-
 typedef NS_ENUM( NSInteger, DDDeviceProtocol )
  {
 	DDDeviceProtocolInvalid											= 0,	/// Invalid protocol.
@@ -62,6 +48,8 @@
 	DDDeviceCategoryHiFiSpeakerMultiple NS_SWIFT_NAME(hifiSpeakerMultiple)	= 1,	/// Multiple Hi-Fi speakers.
 	DDDeviceCategoryTVWithMediaBox NS_SWIFT_NAME(tvWithMediaBox)			= 2,	/// TV with MediaBox.
 	DDDeviceCategoryTV NS_SWIFT_NAME(tv)									= 3,	/// TV.
+	DDDeviceCategoryLaptopComputer NS_SWIFT_NAME(laptopComputer)			= 4,	/// Laptop computer.
+	DDDeviceCategoryDesktopComputer NS_SWIFT_NAME(desktopComputer)			= 5,	/// Desktop computer.
 } NS_SWIFT_NAME(DDDevice.Category);
 
 /// Converts a device category to a string for logging, etc.
Clone this wiki locally