[safariservices] Updates (some deprecations) for beta 1 (#4206)

This commit is contained in:
Sebastien Pouliot 2018-06-11 05:37:06 -07:00 коммит произвёл GitHub
Родитель b0b3d094b4
Коммит 3c8680ad22
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -55,6 +55,7 @@ namespace SafariServices {
[iOS (11,0)]
[Native]
[ErrorDomain ("SFAuthenticationErrorDomain")]
[Deprecated (PlatformName.iOS, 12,0, message: "Use 'ASWebAuthenticationSessionErrorCode' instead.")]
public enum SFAuthenticationError : long {
CanceledLogin = 1,
}

Просмотреть файл

@ -152,6 +152,7 @@ namespace SafariServices {
[iOS (11,0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
[Deprecated (PlatformName.iOS, 12,0, message: "Use 'ASWebAuthenticationSession' instead.")]
interface SFAuthenticationSession {
[Export ("initWithURL:callbackURLScheme:completionHandler:")]
IntPtr Constructor (NSUrl url, [NullAllowed] string callbackUrlScheme, SFAuthenticationCompletionHandler completionHandler);