Modified fields:
-public const string SdkVersion = "16.0";
+public const string SdkVersion = "16.1";
-public const string SharedWithYouLibrary = "/System/Library/Frameworks/SharedWithYouCore.framework/SharedWithYouCore";
+public const string SharedWithYouLibrary = "/System/Library/Frameworks/SharedWithYou.framework/SharedWithYou";
-public const string Version = "16.0.0";
+public const string Version = "16.1.0";
Added field:
public static const string BackgroundAssetsLibrary = "/System/Library/Frameworks/BackgroundAssets.framework/BackgroundAssets";
Added constructor:
public UIHoverGestureRecognizer (System.Action<UIHoverGestureRecognizer> action);
public class BAAppExtensionInfo : Foundation.NSObject, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public BAAppExtensionInfo (Foundation.NSCoder coder);
protected BAAppExtensionInfo (Foundation.NSObjectFlag t);
protected BAAppExtensionInfo (ObjCRuntime.NativeHandle handle);
// properties
public virtual string ApplicationIdentifier { get; }
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual Foundation.NSDate LastApplicationLaunchTime { get; }
public virtual Foundation.NSDate LastPeriodicCheckTime { get; }
// methods
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class BADownload : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public BADownload (Foundation.NSCoder coder);
protected BADownload (Foundation.NSObjectFlag t);
protected BADownload (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual Foundation.NSError Error { get; }
public virtual string Identifier { get; }
public virtual nint Priority { get; }
public virtual BADownloadState State { get; }
public virtual string UniqueIdentifier { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class BADownloadManager : Foundation.NSObject {
// constructors
protected BADownloadManager (Foundation.NSObjectFlag t);
protected BADownloadManager (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public IBADownloadManagerDelegate Delegate { get; set; }
public static BADownloadManager SharedManager { get; }
public virtual Foundation.NSObject WeakDelegate { get; set; }
// methods
public virtual bool CancelDownload (BADownload download, out Foundation.NSError error);
protected override void Dispose (bool disposing);
public virtual void FetchCurrentDownloads (System.Action<Foundation.NSArray<BADownload>> completionHandler);
public virtual System.Threading.Tasks.Task<Foundation.NSArray<BADownload>> FetchCurrentDownloadsAsync ();
public virtual void PerformWithExclusiveControl (System.Action<Foundation.NSError> performHandler);
public virtual void PerformWithExclusiveControl (Foundation.NSDate date, System.Action<System.Boolean,Foundation.NSError> performHandler);
public virtual bool ScheduleDownload (BADownload download, out Foundation.NSError outError);
public virtual bool StartForegroundDownload (BADownload download, out Foundation.NSError outError);
}
public class BADownloadManagerDelegate : Foundation.NSObject, IBADownloadManagerDelegate, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public BADownloadManagerDelegate ();
protected BADownloadManagerDelegate (Foundation.NSObjectFlag t);
protected BADownloadManagerDelegate (ObjCRuntime.NativeHandle handle);
// methods
public virtual void DidBegin (BADownload download);
public virtual void DidPause (BADownload download);
public virtual void DidReceiveChallenge (BADownload download, Foundation.NSUrlAuthenticationChallenge challenge, System.Action<Foundation.NSUrlSessionAuthChallengeDisposition,Foundation.NSUrlCredential> completionHandler);
public virtual void DidWriteBytes (BADownload download, long bytesWritten, long totalBytesWritten, long totalExpectedBytes);
public virtual void Failed (BADownload download, Foundation.NSError error);
public virtual void Finished (BADownload download, Foundation.NSUrl fileUrl);
}
public static class BADownloadManagerDelegate_Extensions {
// methods
public static void DidBegin (this IBADownloadManagerDelegate This, BADownload download);
public static void DidPause (this IBADownloadManagerDelegate This, BADownload download);
public static void DidReceiveChallenge (this IBADownloadManagerDelegate This, BADownload download, Foundation.NSUrlAuthenticationChallenge challenge, System.Action<Foundation.NSUrlSessionAuthChallengeDisposition,Foundation.NSUrlCredential> completionHandler);
public static void DidWriteBytes (this IBADownloadManagerDelegate This, BADownload download, long bytesWritten, long totalBytesWritten, long totalExpectedBytes);
public static void Failed (this IBADownloadManagerDelegate This, BADownload download, Foundation.NSError error);
public static void Finished (this IBADownloadManagerDelegate This, BADownload download, Foundation.NSUrl fileUrl);
}
[Serializable]
public enum BADownloadState {
Created = 0,
Downloading = 2,
Failed = -1,
Finished = 3,
Waiting = 1,
}
public static class BADownloaderExtension_Extensions {
// methods
public static void BackgroundDownloadDidFail (this IBADownloaderExtension This, BADownload failedDownload);
public static void BackgroundDownloadDidFinish (this IBADownloaderExtension This, BADownload finishedDownload, Foundation.NSUrl fileUrl);
public static void CheckForUpdates (this IBADownloaderExtension This, BAAppExtensionInfo metadata);
public static void DidInstallWithMetadata (this IBADownloaderExtension This, BAAppExtensionInfo metadata);
public static void DidUpdateWithMetadata (this IBADownloaderExtension This, BAAppExtensionInfo metadata);
public static void ExtensionWillTerminate (this IBADownloaderExtension This);
public static void ReceivedAuthenticationChallenge (this IBADownloaderExtension This, Foundation.NSUrlAuthenticationChallenge challenge, BADownload download, System.Action<Foundation.NSUrlSessionAuthChallengeDisposition,Foundation.NSUrlCredential> completionHandler);
}
public class BAUrlDownload : BackgroundAssets.BADownload {
// constructors
public BAUrlDownload (Foundation.NSCoder coder);
protected BAUrlDownload (Foundation.NSObjectFlag t);
protected BAUrlDownload (ObjCRuntime.NativeHandle handle);
public BAUrlDownload (string identifier, Foundation.NSUrlRequest request, string applicationGroupIdentifier);
public BAUrlDownload (string identifier, Foundation.NSUrlRequest request, string applicationGroupIdentifier, nint priority);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public static nint DefaultPriority { get; }
public static nint MaxPriority { get; }
public static nint MinPriority { get; }
}
public interface IBADownloadManagerDelegate : ObjCRuntime.INativeObject, System.IDisposable {
}
public interface IBADownloaderExtension : ObjCRuntime.INativeObject, System.IDisposable {
}