[NotificationCenter] Bindings for iOS Xcode 11 beta 1 (#6579)
This commit is contained in:
Родитель
c1e6ac029f
Коммит
9b7f6f9cdb
|
@ -25,16 +25,24 @@ namespace UIKit {
|
||||||
}
|
}
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[Deprecated (PlatformName.iOS, 13,0, message: "Use 'UIVibrancyEffect.CreateWidgetEffectForNotificationCenter' instead.")]
|
||||||
static public UIVibrancyEffect CreatePrimaryVibrancyEffectForNotificationCenter ()
|
static public UIVibrancyEffect CreatePrimaryVibrancyEffectForNotificationCenter ()
|
||||||
{
|
{
|
||||||
return (null as UIVibrancyEffect).GetWidgetPrimaryVibrancyEffect ();
|
return (null as UIVibrancyEffect).GetWidgetPrimaryVibrancyEffect ();
|
||||||
}
|
}
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[Deprecated (PlatformName.iOS, 13,0, message: "Use 'UIVibrancyEffect.CreateWidgetEffectForNotificationCenter' instead.")]
|
||||||
static public UIVibrancyEffect CreateSecondaryVibrancyEffectForNotificationCenter ()
|
static public UIVibrancyEffect CreateSecondaryVibrancyEffectForNotificationCenter ()
|
||||||
{
|
{
|
||||||
return (null as UIVibrancyEffect).GetWidgetSecondaryVibrancyEffect ();
|
return (null as UIVibrancyEffect).GetWidgetSecondaryVibrancyEffect ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[iOS (13,0)]
|
||||||
|
static public UIVibrancyEffect CreateWidgetEffectForNotificationCenter (UIVibrancyEffectStyle vibrancyStyle)
|
||||||
|
{
|
||||||
|
return (null as UIVibrancyEffect).GetWidgetEffect (vibrancyStyle);
|
||||||
|
}
|
||||||
#endif // IOS
|
#endif // IOS
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,7 +73,7 @@ namespace NotificationCenter {
|
||||||
#else
|
#else
|
||||||
[EditorBrowsable (EditorBrowsableState.Advanced)] // this is not the one we want to be seen (compat only)
|
[EditorBrowsable (EditorBrowsableState.Advanced)] // this is not the one we want to be seen (compat only)
|
||||||
#endif
|
#endif
|
||||||
[Deprecated (PlatformName.iOS, 10,0)]
|
[Deprecated (PlatformName.iOS, 10,0, message: "Use 'UIVibrancyEffect.GetWidgetEffect' instead.")]
|
||||||
[Static, Export ("notificationCenterVibrancyEffect")]
|
[Static, Export ("notificationCenterVibrancyEffect")]
|
||||||
UIVibrancyEffect NotificationCenterVibrancyEffect ();
|
UIVibrancyEffect NotificationCenterVibrancyEffect ();
|
||||||
}
|
}
|
||||||
|
@ -103,14 +103,21 @@ namespace NotificationCenter {
|
||||||
[BaseType (typeof (UIVibrancyEffect))]
|
[BaseType (typeof (UIVibrancyEffect))]
|
||||||
interface UIVibrancyEffect_NCWidgetAdditions {
|
interface UIVibrancyEffect_NCWidgetAdditions {
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[Deprecated (PlatformName.iOS, 13,0, message: "Use 'UIVibrancyEffect.GetWidgetEffect' instead.")]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("widgetPrimaryVibrancyEffect")]
|
[Export ("widgetPrimaryVibrancyEffect")]
|
||||||
UIVibrancyEffect GetWidgetPrimaryVibrancyEffect ();
|
UIVibrancyEffect GetWidgetPrimaryVibrancyEffect ();
|
||||||
|
|
||||||
[iOS (10,0)]
|
[iOS (10,0)]
|
||||||
|
[Deprecated (PlatformName.iOS, 13,0, message: "Use 'UIVibrancyEffect.GetWidgetEffect' instead.")]
|
||||||
[Static]
|
[Static]
|
||||||
[Export ("widgetSecondaryVibrancyEffect")]
|
[Export ("widgetSecondaryVibrancyEffect")]
|
||||||
UIVibrancyEffect GetWidgetSecondaryVibrancyEffect ();
|
UIVibrancyEffect GetWidgetSecondaryVibrancyEffect ();
|
||||||
|
|
||||||
|
[iOS (13,0)]
|
||||||
|
[Static]
|
||||||
|
[Export ("widgetEffectForVibrancyStyle:")]
|
||||||
|
UIVibrancyEffect GetWidgetEffect (UIVibrancyEffectStyle vibrancyStyle);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
!missing-selector! +UIVibrancyEffect::notificationCenterVibrancyEffect not bound
|
!missing-selector! +UIVibrancyEffect::notificationCenterVibrancyEffect not bound
|
||||||
!missing-selector! +UIVibrancyEffect::widgetPrimaryVibrancyEffect not bound
|
!missing-selector! +UIVibrancyEffect::widgetPrimaryVibrancyEffect not bound
|
||||||
!missing-selector! +UIVibrancyEffect::widgetSecondaryVibrancyEffect not bound
|
!missing-selector! +UIVibrancyEffect::widgetSecondaryVibrancyEffect not bound
|
||||||
|
!missing-selector! +UIVibrancyEffect::widgetEffectForVibrancyStyle: not bound
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
!missing-selector! +UIVibrancyEffect::widgetEffectForVibrancyStyle: not bound
|
|
Загрузка…
Ссылка в новой задаче