Skip to content

Commit

Permalink
[BackgroundAssets] Add support for Xcode 15 beta 6. (#18788)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com>
  • Loading branch information
mandel-macaque and GitHub Actions Autoformatter authored Aug 23, 2023
1 parent efd8570 commit f99645b
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 8 deletions.
22 changes: 22 additions & 0 deletions src/backgroundassets.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,28 @@ public enum BAContentRequest : long {
Periodic,
}

[NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)]
[ErrorDomain ("BAErrorDomain")]
[Native]
public enum BAErrorCode : long {
DownloadInvalid = 0,
CallFromExtensionNotAllowed = 50,
CallFromInactiveProcessNotAllowed = 51,
CallerConnectionNotAccepted = 55,
CallerConnectionInvalid = 56,
DownloadAlreadyScheduled = 100,
DownloadNotScheduled = 101,
DownloadFailedToStart = 102,
DownloadAlreadyFailed = 103,
DownloadEssentialDownloadNotPermitted = 109,
DownloadBackgroundActivityProhibited = 111,
DownloadWouldExceedAllowance = 112,
SessionDownloadDisallowedByDomain = 202,
SessionDownloadDisallowedByAllowance = 203,
SessionDownloadAllowanceExceeded = 204,
SessionDownloadNotPermittedBeforeAppLaunch = 206,
}

[NoWatch, NoTV, Mac (13, 0), iOS (16, 0), MacCatalyst (16, 0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
Expand Down

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/iOS-BackgroundAssets.todo

This file was deleted.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/macOS-BackgroundAssets.todo

This file was deleted.

1 comment on commit f99645b

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

Please sign in to comment.