registerUserNotificationSettings method
- @Deprecated('Use UserNotifications Framework\'s -[UNUserNotificationCenter requestAuthorizationWithOptions:completionHandler:] and -[UNUserNotificationCenter setNotificationCategories:]')
- UIUserNotificationSettings$1 notificationSettings
registerUserNotificationSettings:
Implementation
@Deprecated(
'Use UserNotifications Framework\'s -[UNUserNotificationCenter requestAuthorizationWithOptions:completionHandler:] and -[UNUserNotificationCenter setNotificationCategories:]',
)
void registerUserNotificationSettings(UIUserNotificationSettings$1 notificationSettings) {
final _$$ref = object$.ref;
final _$$ref$1 = notificationSettings.ref;
objc.checkOsVersionInternal('UIApplication.registerUserNotificationSettings:', iOS: (false, (8, 0, 0)));
_objc_msgSend_xtuoz7(_$$ref.pointer, _sel_registerUserNotificationSettings_, _$$ref$1.pointer);
}