Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created September 4, 2024 15:06
Show Gist options
  • Save vs-mobiletools-engineering-service2/5b3a1d24c13f878bf0802956d6e13dfa to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/5b3a1d24c13f878bf0802956d6e13dfa to your computer and use it in GitHub Desktop.
previous-api-comparison/diff/dotnet/Microsoft.MacCatalyst.Ref/ref/net8.0/Microsoft.MacCatalyst.md

API diff: Microsoft.MacCatalyst.dll

Microsoft.MacCatalyst.dll

Namespace Vision

Type Changed: Vision.VNGeneratePersonSegmentationRequest

Added method:

public virtual CoreVideo.CVPixelFormatType[] GetSupportedOutputPixelFormats (out Foundation.NSError error);

Type Changed: Vision.VNRecognizeTextRequestRevision

Added value:

Three = 3,

New Type: Vision.VNCalculateImageAestheticsScoresRequest

public class VNCalculateImageAestheticsScoresRequest : Vision.VNImageBasedRequest {
	// constructors
	protected VNCalculateImageAestheticsScoresRequest (Foundation.NSObjectFlag t);
	protected VNCalculateImageAestheticsScoresRequest (ObjCRuntime.NativeHandle handle);
	public VNCalculateImageAestheticsScoresRequest (VNRequestCompletionHandler completionHandler);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual VNImageAestheticsScoresObservation[] Results { get; }
}

New Type: Vision.VNCalculateImageAestheticsScoresRequestRevision

[Serializable]
public enum VNCalculateImageAestheticsScoresRequestRevision {
	One = 1,
}

New Type: Vision.VNImageAestheticsScoresObservation

public class VNImageAestheticsScoresObservation : Vision.VNObservation {
	// constructors
	public VNImageAestheticsScoresObservation (Foundation.NSCoder coder);
	protected VNImageAestheticsScoresObservation (Foundation.NSObjectFlag t);
	protected VNImageAestheticsScoresObservation (ObjCRuntime.NativeHandle handle);
	// properties
	public override ObjCRuntime.NativeHandle ClassHandle { get; }
	public virtual bool IsUtility { get; }
	public virtual float OverallScore { get; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment