title | description | author | ms.author | ms.date | ms.topic | ms.assetid | ms.prod |
---|---|---|---|---|---|---|---|
Xamarin.iOS SDK API diff |
List of API changes for Xamarin.iOS. |
spouliot |
sepoulio |
9/3/2023 |
article |
f7934223-2a8c-d5d4-788f-79d2f8610aa7 |
xamarin |
Added properties:
public static IMLComputeDeviceProtocol[] AllComputeDevices { get; }
public static IMLComputeDeviceProtocol[] AvailableComputeDevices { get; }
Added methods:
public virtual void GetPrediction (IMLFeatureProvider input, System.Action<IMLFeatureProvider,Foundation.NSError> completionHandler);
public virtual void GetPrediction (IMLFeatureProvider input, MLPredictionOptions options, System.Action<IMLFeatureProvider,Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<IMLFeatureProvider> GetPredictionAsync (IMLFeatureProvider input);
public virtual System.Threading.Tasks.Task<IMLFeatureProvider> GetPredictionAsync (IMLFeatureProvider input, MLPredictionOptions options);
Added value:
PredictionCancelled = 11,
public interface IMLComputeDeviceProtocol : ObjCRuntime.INativeObject, System.IDisposable {
}
public class MLCpuComputeDevice : Foundation.NSObject, IMLComputeDeviceProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected MLCpuComputeDevice (Foundation.NSObjectFlag t);
protected MLCpuComputeDevice (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public class MLGpuComputeDevice : Foundation.NSObject, IMLComputeDeviceProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected MLGpuComputeDevice (Foundation.NSObjectFlag t);
protected MLGpuComputeDevice (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Metal.IMTLDevice MetalDevice { get; }
}
public class MLNeuralEngineComputeDevice : Foundation.NSObject, IMLComputeDeviceProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected MLNeuralEngineComputeDevice (Foundation.NSObjectFlag t);
protected MLNeuralEngineComputeDevice (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual nint TotalCoreCount { get; }
}