Class UNNotificationSettings
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.usernotifications.UNNotificationSettings
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class UNNotificationSettings extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 10.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UNNotificationSettings.UNNotificationSettingsPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
UNNotificationSettings()
UNNotificationSettings(NSCoder decoder)
protected
UNNotificationSettings(NSObject.Handle h, long handle)
protected
UNNotificationSettings(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encode(NSCoder coder)
UNNotificationSetting
getAlertSetting()
UNAlertStyle
getAlertStyle()
UNAuthorizationStatus
getAuthorizationStatus()
UNNotificationSetting
getBadgeSetting()
UNNotificationSetting
getCarPlaySetting()
UNNotificationSetting
getCriticalAlertSetting()
UNNotificationSetting
getLockScreenSetting()
UNNotificationSetting
getNotificationCenterSetting()
UNShowPreviewsSetting
getShowPreviewsSetting()
UNNotificationSetting
getSoundSetting()
protected long
init(NSCoder decoder)
boolean
providesAppNotificationSettings()
static boolean
supportsSecureCoding()
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
UNNotificationSettings
protected UNNotificationSettings()
-
UNNotificationSettings
protected UNNotificationSettings(NSObject.Handle h, long handle)
-
UNNotificationSettings
protected UNNotificationSettings(NSObject.SkipInit skipInit)
-
UNNotificationSettings
public UNNotificationSettings(NSCoder decoder)
-
-
Method Detail
-
getAuthorizationStatus
public UNAuthorizationStatus getAuthorizationStatus()
-
getSoundSetting
public UNNotificationSetting getSoundSetting()
-
getBadgeSetting
public UNNotificationSetting getBadgeSetting()
-
getAlertSetting
public UNNotificationSetting getAlertSetting()
-
getNotificationCenterSetting
public UNNotificationSetting getNotificationCenterSetting()
-
getLockScreenSetting
public UNNotificationSetting getLockScreenSetting()
-
getCarPlaySetting
public UNNotificationSetting getCarPlaySetting()
-
getAlertStyle
public UNAlertStyle getAlertStyle()
-
getShowPreviewsSetting
public UNShowPreviewsSetting getShowPreviewsSetting()
- Since:
- Available in iOS 11.0 and later.
-
getCriticalAlertSetting
public UNNotificationSetting getCriticalAlertSetting()
- Since:
- Available in iOS 12.0 and later.
-
providesAppNotificationSettings
public boolean providesAppNotificationSettings()
- Since:
- Available in iOS 12.0 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
init
protected long init(NSCoder decoder)
-
-