Skip to content

DeviceAccess macOS xcode14.0 beta1

Israel Soto edited this page Aug 22, 2022 · 2 revisions

#DeviceAccess.framework ##issoto

diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DACommon.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DACommon.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DACommon.h	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DACommon.h	2022-05-21 07:47:57.000000000 -0400
@@ -0,0 +1,39 @@
+/*
+	Copyright (C) 2021 Apple Inc. All Rights Reserved.
+*/
+
+#ifndef DEVICE_ACCESS_INDIRECT_INCLUDES
+#error "Please #import <DeviceAccess/DeviceAccess.h> instead of this file directly."
+#endif
+
+#pragma once
+
+#import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/// Marks an API as exported.
+#ifndef DA_EXTERN
+#ifdef __cplusplus
+#define DA_EXTERN extern "C" __attribute__((visibility("default")))
+#else
+#define DA_EXTERN extern __attribute__((visibility("default")))
+#endif
+#endif
+
+/// Work around some projects disabling OS_OBJECT_USE_OBJC by mapping to strong/assign as needed.
+#if defined( OS_OBJECT_USE_OBJC ) && OS_OBJECT_USE_OBJC
+	#define da_os_ownership		strong
+#else
+	#define da_os_ownership		assign
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DADevice.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DADevice.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DADevice.h	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DADevice.h	2022-05-31 15:04:02.000000000 -0400
@@ -0,0 +1,151 @@
+// Copyright (C) 2021-2022 Apple Inc. All Rights Reserved.
+
+#ifndef DEVICE_ACCESS_INDIRECT_INCLUDES
+#error "Please #import <DeviceAccess/DeviceAccess.h> instead of this file directly."
+#endif
+
+#pragma once
+
+#import <DeviceAccess/DACommon.h>
+#import <Foundation/Foundation.h>
+#import <Network/Network.h>
+#import <UniformTypeIdentifiers/UniformTypeIdentifiers.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+//---------------------------------------------------------------------------------------------------------------------------
+///	@defgroup	Supported Protocols
+typedef NSString * DADeviceProtocol NS_STRING_ENUM;
+
+API_AVAILABLE( ios( 16.0 ) )
+DA_EXTERN DADeviceProtocol const DADeviceProtocolInvalid;
+
+API_AVAILABLE( ios( 16.0 ) )
+DA_EXTERN DADeviceProtocol const DADeviceProtocolDIAL NS_SWIFT_NAME(DADeviceProtocol.dial);
+
+//---------------------------------------------------------------------------------------------------------------------------
+
+/// Flags for the device.
+typedef NS_OPTIONS( NSUInteger, DADeviceFlags )
+{
+	DADeviceFlagsNone				= 0,			/// No flags.
+	DADeviceFlagsSupportsAudio		= ( 1U << 1 ),	/// Supports playback of audio content.
+	DADeviceFlagsSupportsVideo		= ( 1U << 2 ),	/// Supports playback of video content.
+};
+
+/// Converts a device flags to a string for logging, etc.
+API_AVAILABLE( ios( 16.0 ) )
+NSString * DADeviceFlagsToString( DADeviceFlags inFlags );
+
+//---------------------------------------------------------------------------------------------------------------------------
+
+typedef NS_ENUM( NSInteger, DADeviceProtocolType )
+ {
+	DADeviceProtocolTypeInvalid											= 0,	/// Invalid protocol.
+	DADeviceProtocolTypeDIAL NS_SWIFT_NAME(DADeviceProtocol.dial)		= 1,	/// DIAL protocol.
+	DADeviceProtocolTypeReserved1										= 2,	/// Reserved for future use.
+	DADeviceProtocolTypeReserved2										= 3,	/// Reserved for future use.
+ };
+
+/// Converts a device protocol type to a string for logging, etc.
+DA_EXTERN
+API_AVAILABLE( ios( 16.0 ) )
+NSString * DADeviceProtocolTypeToString( DADeviceProtocolType inValue );
+
+//---------------------------------------------------------------------------------------------------------------------------
+/// Type of the device.
+typedef NS_ENUM( NSInteger, DADeviceType )
+{
+	DADeviceTypeHiFiSpeaker NS_SWIFT_NAME(hifiSpeaker)			= 0,	/// Hi-Fi speaker.
+	DADeviceTypeHiFiSpeaker2 NS_SWIFT_NAME(hifiSpeaker2)		= 1,	/// Multiple Hi-Fi speakers.
+	DADeviceTypeTVWithMediaBox NS_SWIFT_NAME(tvWithMediaBox)	= 2,	/// TV with MediaBox.
+	DADeviceTypeTV NS_SWIFT_NAME(tv)							= 3,	/// TV.
+};
+
+/// Converts a device type to a string for logging, etc.
+DA_EXTERN
+API_AVAILABLE( ios( 16.0 ) )
+NSString * DADeviceTypeToString( DADeviceType inValue );
+
+//===========================================================================================================================
+/// State of the device.
+typedef NS_ENUM( NSInteger, DADeviceState )
+{
+	DADeviceStateInvalid		= 0,  /// Invalid/unapproved state.
+	DADeviceStateActivating		= 10, /// Selected by the user.
+	DADeviceStateActivated		= 20, /// Authorized and connected.
+	DADeviceStateAuthorized		= 25, /// Authorized by the user.
+	DADeviceStateInvalidating	= 30, /// Invalidating state.
+	
+	// Deprecated states.
+	
+	DADeviceStateUnknown		= 0,
+	DADeviceStateSelected		= 10, /// Selected by the user.
+	DADeviceStateDeselected		= 11, /// Deselected by a user or the system.
+	DADeviceStateConnecting		= 20, /// Connecting.
+	DADeviceStateConnected		= 30, /// Connected.
+	DADeviceStateDisconnecting	= 35, /// Disconnecting.
+	DADeviceStateDisconnected	= 40, /// Disconnected.
+};
+
+/// Converts a device state to a string for logging, etc.
+DA_EXTERN
+API_AVAILABLE( ios( 16.0 ) )
+NSString * DADeviceStateToString( DADeviceState inValue );
+
+//===========================================================================================================================
+/// DeviceAccess device.
+DA_EXTERN
+API_AVAILABLE( ios( 16.0 ) )
+@interface DADevice : NSObject
+
+/// Identifier to communicate with the device via Bluetooth.
+@property (readwrite, strong, nullable, nonatomic) NSUUID *bluetoothIdentifier;
+
+/// Flags about the device.
+@property (readwrite, assign, nonatomic) DADeviceFlags flags;
+
+/// Type of the device.
+@property (readwrite, assign, nonatomic) DADeviceType type;
+
+/// Identifier of the device.
+@property (readwrite, copy, nullable, nonatomic) NSString *identifier;
+
+/// Additional about the device.
+@property (readwrite, copy, nonatomic) NSDictionary *metadata;
+
+/// Name of the device. Should be suitable for displaying to a user.
+@property (readwrite, copy, nullable, nonatomic) NSString *name;
+
+/// Endpoint to communicate with the device via networking.
+@property (readwrite, da_os_ownership, nullable, nonatomic) nw_endpoint_t networkEndpoint
+	NS_REFINED_FOR_SWIFT;
+
+/// Protocol of the device..
+@property (readwrite, assign, nonatomic) DADeviceProtocolType protocol;
+
+/// Uniform Type for the protocol.
+@property (readwrite, strong, nonatomic) UTType *protocolType;
+
+/// State of the device.
+@property (readwrite, assign, nonatomic) DADeviceState state;
+
+/// TXT record of the device.
+@property (readwrite, copy, nullable, nonatomic) NSData *txtRecordData
+	NS_REFINED_FOR_SWIFT;
+
+/// URL used for SSDP connection.
+/// The URL must have a valid hostname, no query parameters, and a maximum size of 100 bytes.
+@property (readwrite, copy, nonatomic) NSURL *url;
+
+@end
+
+#ifdef __cplusplus
+}
+#endif
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DADiscovery.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DADiscovery.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DADiscovery.h	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DADiscovery.h	2022-05-31 15:04:02.000000000 -0400
@@ -0,0 +1,69 @@
+// Copyright (C) 2021-2022 Apple Inc. All Rights Reserved.
+
+#ifndef DEVICE_ACCESS_INDIRECT_INCLUDES
+#error "Please #import <DeviceAccess/DeviceAccess.h> instead of this file directly."
+#endif
+
+#pragma once
+
+#import <DeviceAccess/DACommon.h>
+#import <DeviceAccess/DAErrors.h>
+#import <DeviceAccess/DAEvent.h>
+#import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+@class CBUUID;
+
+//===========================================================================================================================
+/// Describes configuration info for discovery.
+DA_EXTERN
+API_AVAILABLE( ios( 16.0 ) )
+@interface DADiscoveryConfiguration : NSObject
+
+/// Bluetooth company identifiers to scan for.
+/// See <https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers/>
+@property (readwrite, copy, nullable, nonatomic) NSArray <NSNumber *> *bluetoothCompanyIdentifiers;
+
+/// Bluetooth services to scan for.
+@property (readwrite, copy, nullable, nonatomic) NSArray <CBUUID *> *bluetoothServices;
+
+/// Bonjour service types to browse for.
+@property (readwrite, copy, nullable, nonatomic) NSArray <NSString *> *bonjourServiceTypes;
+
+@end
+
+//===========================================================================================================================
+/// Manages discovery using Bluetooth and/or Networking.
+DA_EXTERN
+API_AVAILABLE( ios( 16.0 ) )
+@interface DADiscovery : NSObject
+
+/// Dispatch queue to invoke handlers on. Defaults to the main queue if not set.
+@property (readwrite, da_os_ownership, nonatomic) dispatch_queue_t dispatchQueue;
+
+/// Invoked when an event occurs.
+@property (readwrite, copy, nullable, nonatomic) DAEventHandler eventHandler;
+
+/// Initializes discovery with the specified configuration.
+- (instancetype _Nullable)
+	initWithConfiguration:	(DADiscoveryConfiguration *)	inConfiguration
+	error:					(DAErrorOutType)				outError;
+
+/// Activate the session.
+- (void) activate;
+
+/// Stops any operations and breaks retain cycles. The object cannot be used after calling this.
+- (void) invalidate;
+
+@end
+
+#ifdef __cplusplus
+}
+#endif
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DAErrors.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DAErrors.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DAErrors.h	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DAErrors.h	2022-05-31 15:04:02.000000000 -0400
@@ -0,0 +1,55 @@
+/*
+	Copyright (C) 2021 Apple Inc. All Rights Reserved.
+*/
+
+#ifndef DEVICE_ACCESS_INDIRECT_INCLUDES
+#error "Please #import <DeviceAccess/DeviceAccess.h> instead of this file directly."
+#endif
+
+#pragma once
+
+#import <DeviceAccess/DACommon.h>
+#import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/// NSError domain for DeviceAccess errors.
+API_AVAILABLE( ios( 16.0 ) )
+DA_EXTERN NSString * const DAErrorDomain;
+
+/// Error codes used with DAErrorDomain.
+/// DeviceAccess error code range: 350000-350999.
+typedef NS_ERROR_ENUM( DAErrorDomain, DAErrorCode )
+{
+	DAErrorCodeSuccess				= 0,		/// Success.
+	DAErrorCodeUnknown				= 350000,	/// Underlying failure with an unknown cause.
+	DAErrorCodeBadParameter			= 350001,	/// Bad parameter.
+	DAErrorCodeUnsupported			= 350002,	/// Unsupported value, operation, etc.
+	DAErrorCodeTimeout				= 350003,	/// Session or operation timed out.
+	DAErrorCodeInternal				= 350004,	/// Internal problem.
+	DAErrorCodeMissingEntitlement	= 350005,	/// Missing entitlement.
+	DAErrorCodePermission			= 350006,	/// Lacks permission to perform the operation.
+	
+	// Next error code to be allocated 
+	DAErrorCodeNext,
+	
+}	API_AVAILABLE( ios( 16.0 ) );
+
+/// Type for returning NSError's from functions. Avoids long and repetitious method signatures.
+API_AVAILABLE( ios( 16.0 ) )
+typedef NSError * _Nullable __autoreleasing * _Nullable		DAErrorOutType;
+
+/// Invoked when a fail-able operation completes or an error occurs.
+/// @param		inError		nil if successful. non-nil if an error occurred.
+API_AVAILABLE( ios( 16.0 ) )
+typedef void ( ^DAErrorHandler )( NSError * _Nullable inError );
+
+#ifdef __cplusplus
+}
+#endif
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DAEvent.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DAEvent.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DAEvent.h	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DAEvent.h	2022-05-31 15:04:02.000000000 -0400
@@ -0,0 +1,92 @@
+// Copyright (C) 2021-2022 Apple Inc. All Rights Reserved.
+
+#ifndef DEVICE_ACCESS_INDIRECT_INCLUDES
+#error "Please #import <DeviceAccess/DeviceAccess.h> instead of this file directly."
+#endif
+
+#pragma once
+
+#import <DeviceAccess/DACommon.h>
+#import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+@class DADevice;
+@class DAEvent;
+
+//===========================================================================================================================
+/// Type of event.
+typedef NS_ENUM( NSInteger, DAEventType )
+{
+	DAEventTypeUnknown					= 0,	/// Unknown event. Placeholder for initializing event types.
+	DAEventTypeActivated				= 10,	/// [DAEvent] Instance activate completed.
+	DAEventTypeInvalidated				= 20,	/// [DAEvent] Instance invalidated.
+	DAEventTypeSessionStarted			= 30,	/// [DAEvent] App session started.
+	DAEventTypeSessionEnded				= 31,	/// [DAEvent] App session ended.
+	DAEventTypeXPCInterrupted			= 32,	/// [DAEvent] App session interrupted.
+	DAEventTypeDeviceFound				= 40,	/// [DADeviceEvent] Device found.
+	DAEventTypeDeviceLost				= 41,	/// [DADeviceEvent] Device lost.
+	DAEventTypeDeviceChanged			= 42,	/// [DADeviceEvent] Device changed.
+	DAEventTypeDevicesPresentChanged	= 50,	/// [DADeviceEvent] Device changed.
+};
+
+/// Converts an event to a string for logging, etc.
+DA_EXTERN
+API_AVAILABLE( ios( 16.0 ) )
+NSString * DAEventTypeToString( DAEventType inValue );
+
+/// Invoked when an event occurs.
+typedef void ( ^DAEventHandler )( DAEvent *inEvent );
+
+//===========================================================================================================================
+/// Event for status and other updates.
+DA_EXTERN
+@interface DAEvent : NSObject
+
+/// Type of event. Type may indicate the subclass of DAEvent to provide additional properties.
+@property (readonly, assign, nonatomic) DAEventType eventType;
+
+@end
+
+//===========================================================================================================================
+
+/// Device-related event (e.g. found, lost).
+DA_EXTERN
+API_AVAILABLE( ios( 16.0 ) )
+@interface DAEventDevice : DAEvent
+
+/// Initializes a device event.
+- (instancetype) initWithEventType:(DAEventType) type device:(DADevice *) device;
+
+/// Device found or lost.
+@property (readonly, strong, nonatomic) DADevice *device;
+
+@end
+
+/// Device-related event (e.g. found, lost).
+DA_EXTERN
+API_AVAILABLE( ios( 16.0 ) )
+@interface DADeviceEvent : DAEventDevice
+
+@end
+
+//===========================================================================================================================
+/// Reports the one or more devices are present changes.
+DA_EXTERN
+API_AVAILABLE( ios( 16.0 ) )
+@interface DAEventDevicesPresent : DAEvent
+
+/// One or more devices are present.
+@property (readonly, assign, nonatomic) BOOL devicesPresent;
+
+@end
+
+#ifdef __cplusplus
+}
+#endif
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DAExtension.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DAExtension.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DAExtension.h	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DAExtension.h	2022-05-21 07:47:57.000000000 -0400
@@ -0,0 +1,48 @@
+/*
+	Copyright (C) 2021 Apple Inc. All Rights Reserved.
+*/
+
+#ifndef DEVICE_ACCESS_INDIRECT_INCLUDES
+#error "Please #import <DeviceAccess/DeviceAccess.h> instead of this file directly."
+#endif
+
+#pragma once
+
+#import <DeviceAccess/DACommon.h>
+#import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+//---------------------------------------------------------------------------------------------------------------------------
+/// Manages a session between the extension and host.
+DA_EXTERN
+@interface DADiscoveryExtensionSession : NSObject
+
+/// Reports an event to the host.
+- (void) reportEvent:(DAEvent *) inEvent;
+
+@end
+
+//---------------------------------------------------------------------------------------------------------------------------
+/// The extension implementation must provide an object that conforms to this protocol.
+@protocol DADiscoveryExtensionProtocol
+
+/// Start discovery.
+- (void) startDiscoveryWithSession:(DADiscoveryExtensionSession *) inSession
+	NS_SWIFT_NAME(startDiscovery(session:));
+
+/// Stop discovery.
+- (void) stopDiscoveryWithSession:(DADiscoveryExtensionSession *) inSession
+	NS_SWIFT_NAME(stopDiscovery(session:));
+
+@end
+
+#ifdef __cplusplus
+}
+#endif
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DeviceAccess.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DeviceAccess.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DeviceAccess.h	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DeviceAccess.framework/Headers/DeviceAccess.h	2022-05-21 07:47:57.000000000 -0400
@@ -0,0 +1,18 @@
+/*
+	Copyright (C) 2021 Apple Inc. All Rights Reserved.
+*/
+
+#pragma once
+
+#ifndef DEVICE_ACCESS_INDIRECT_INCLUDES
+#define DEVICE_ACCESS_INDIRECT_INCLUDES
+#endif
+
+#import <DeviceAccess/DACommon.h>
+#import <DeviceAccess/DADevice.h>
+#import <DeviceAccess/DADiscovery.h>
+#import <DeviceAccess/DAErrors.h>
+#import <DeviceAccess/DAEvent.h>
+#import <DeviceAccess/DAExtension.h>
+
+#undef DEVICE_ACCESS_INDIRECT_INCLUDES
Clone this wiki locally