[videosubscriberaccount] Hide [Field]s by providing better alternative if possible
Internalize VSErrorInfoKeys by adding a [StrongDictionary] on it NSError err = ...; var new VSErrorInfo (err.UserInfo); Console.WriteLine (SamlResponse); Internalize VSCheckAccessOptionKeys as it already has a [StrongDictionary]
This commit is contained in:
Родитель
3dbde10fac
Коммит
391aed7a70
|
@ -43,16 +43,30 @@ namespace XamCore.VideoSubscriberAccount {
|
|||
[Introduced (PlatformName.TvOS, 10, 0)]
|
||||
[Unavailable (PlatformName.WatchOS)]
|
||||
[Static]
|
||||
interface VSErrorInfoKey {
|
||||
[Internal]
|
||||
interface VSErrorInfoKeys {
|
||||
|
||||
[Field ("VSErrorInfoKeySAMLResponse")]
|
||||
NSString SamlResponse { get; }
|
||||
NSString SamlResponseKey { get; }
|
||||
|
||||
[Field ("VSErrorInfoKeySAMLResponseStatus")]
|
||||
NSString SamlResponseStatus { get; }
|
||||
NSString SamlResponseStatusKey { get; }
|
||||
|
||||
[Field ("VSErrorInfoKeyUnsupportedProviderIdentifier")]
|
||||
NSString UnsupportedProviderIdentifier { get; }
|
||||
NSString UnsupportedProviderIdentifierKey { get; }
|
||||
}
|
||||
|
||||
[Introduced (PlatformName.iOS, 10, 0)]
|
||||
[Introduced (PlatformName.TvOS, 10, 0)]
|
||||
[Unavailable (PlatformName.WatchOS)]
|
||||
[StrongDictionary ("VSErrorInfoKeys")]
|
||||
public interface VSErrorInfo {
|
||||
|
||||
string SamlResponse { get; }
|
||||
|
||||
string SamlResponseStatus { get; }
|
||||
|
||||
string UnsupportedProviderIdentifier { get; }
|
||||
}
|
||||
|
||||
interface IVSAccountManagerDelegate { }
|
||||
|
@ -95,6 +109,7 @@ namespace XamCore.VideoSubscriberAccount {
|
|||
[Introduced (PlatformName.TvOS, 10, 0)]
|
||||
[Unavailable (PlatformName.WatchOS)]
|
||||
[Static]
|
||||
[Internal]
|
||||
interface VSCheckAccessOptionKeys {
|
||||
|
||||
[Field ("VSCheckAccessOptionPrompt")]
|
||||
|
|
Загрузка…
Ссылка в новой задаче