Skip to content

SensitiveContentAnalysis macOS xcode15.0 b7

Haritha Mohan edited this page Sep 14, 2023 · 3 revisions

#SensitiveContentAnalysis.framework https://github.com/xamarin/xamarin-macios/pull/19020

diff -ruN /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensitiveContentAnalysis.framework/Headers/SCSensitivityAnalyzer.h /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensitiveContentAnalysis.framework/Headers/SCSensitivityAnalyzer.h
--- /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensitiveContentAnalysis.framework/Headers/SCSensitivityAnalyzer.h	2023-08-01 07:39:05
+++ /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensitiveContentAnalysis.framework/Headers/SCSensitivityAnalyzer.h	2023-08-10 05:16:43
@@ -13,6 +13,7 @@
 
 /// Sensitive Analysis Results object is returned after sensitivity analysis is performed on media
 NS_SWIFT_SENDABLE
+API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos, visionos)
 @interface SCSensitivityAnalysis : NSObject
 /// Set to YES if analyzed media contains sensitive content
 @property(readonly, getter=isSensitive) BOOL sensitive;
@@ -28,11 +29,11 @@
     /// Sensitive Analysis is enabled for kids or teens in ScreenTime through "Communications Safety" feature.
     /// It's expected to have more descriptive UI for the user, explaining potential risks.
     SCSensitivityAnalysisPolicyDescriptiveInterventions = 2,
-};
+} API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos, visionos);
 
 /// Main class for content sensitivity analysis
 NS_SWIFT_SENDABLE
-API_AVAILABLE(macos(14.0), ios(17.0), watchos(10.0))
+API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos, visionos)
 @interface SCSensitivityAnalyzer : NSObject
 
 - (instancetype)init;
Clone this wiki locally