Class UNNotificationContent
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.usernotifications.UNNotificationContent
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
UNMutableNotificationContent
public class UNNotificationContent extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 10.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UNNotificationContent.UNNotificationContentPtr
-
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 UNNotificationContent()
UNNotificationContent(NSCoder decoder)
protected
UNNotificationContent(NSObject.Handle h, long handle)
protected
UNNotificationContent(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encode(NSCoder coder)
NSArray<UNNotificationAttachment>
getAttachments()
NSNumber
getBadge()
java.lang.String
getBody()
java.lang.String
getCategoryIdentifier()
java.lang.String
getLaunchImageName()
UNNotificationSound
getSound()
java.lang.String
getSubtitle()
java.lang.String
getSummaryArgument()
long
getSummaryArgumentCount()
java.lang.String
getThreadIdentifier()
java.lang.String
getTitle()
NSDictionary<?,?>
getUserInfo()
protected long
init(NSCoder decoder)
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
-
UNNotificationContent
public UNNotificationContent()
-
UNNotificationContent
protected UNNotificationContent(NSObject.Handle h, long handle)
-
UNNotificationContent
protected UNNotificationContent(NSObject.SkipInit skipInit)
-
UNNotificationContent
public UNNotificationContent(NSCoder decoder)
-
-
Method Detail
-
getAttachments
public NSArray<UNNotificationAttachment> getAttachments()
-
getBadge
public NSNumber getBadge()
-
getBody
public java.lang.String getBody()
-
getCategoryIdentifier
public java.lang.String getCategoryIdentifier()
-
getLaunchImageName
public java.lang.String getLaunchImageName()
-
getSound
public UNNotificationSound getSound()
-
getSubtitle
public java.lang.String getSubtitle()
-
getThreadIdentifier
public java.lang.String getThreadIdentifier()
-
getTitle
public java.lang.String getTitle()
-
getUserInfo
public NSDictionary<?,?> getUserInfo()
-
getSummaryArgument
public java.lang.String getSummaryArgument()
- Since:
- Available in iOS 12.0 and later.
-
getSummaryArgumentCount
public long getSummaryArgumentCount()
- Since:
- Available in iOS 12.0 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
init
protected long init(NSCoder decoder)
-
-