Class UNNotificationCategory
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.usernotifications.UNNotificationCategory
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class UNNotificationCategory extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 10.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UNNotificationCategory.UNNotificationCategoryPtr
-
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
UNNotificationCategory()
UNNotificationCategory(java.lang.String identifier, NSArray<UNNotificationAction> actions, NSArray<NSString> intentIdentifiers, java.lang.String hiddenPreviewsBodyPlaceholder, java.lang.String categorySummaryFormat, UNNotificationCategoryOptions options)
UNNotificationCategory(java.lang.String identifier, NSArray<UNNotificationAction> actions, NSArray<NSString> intentIdentifiers, java.lang.String hiddenPreviewsBodyPlaceholder, UNNotificationCategoryOptions options)
UNNotificationCategory(java.lang.String identifier, NSArray<UNNotificationAction> actions, NSArray<NSString> intentIdentifiers, UNNotificationCategoryOptions options)
UNNotificationCategory(NSCoder decoder)
protected
UNNotificationCategory(NSObject.Handle h, long handle)
protected
UNNotificationCategory(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static long
create(java.lang.String identifier, NSArray<UNNotificationAction> actions, NSArray<NSString> intentIdentifiers, java.lang.String hiddenPreviewsBodyPlaceholder, java.lang.String categorySummaryFormat, UNNotificationCategoryOptions options)
protected static long
create(java.lang.String identifier, NSArray<UNNotificationAction> actions, NSArray<NSString> intentIdentifiers, java.lang.String hiddenPreviewsBodyPlaceholder, UNNotificationCategoryOptions options)
protected static long
create(java.lang.String identifier, NSArray<UNNotificationAction> actions, NSArray<NSString> intentIdentifiers, UNNotificationCategoryOptions options)
void
encode(NSCoder coder)
NSArray<UNNotificationAction>
getActions()
java.lang.String
getCategorySummaryFormat()
java.lang.String
getHiddenPreviewsBodyPlaceholder()
java.lang.String
getIdentifier()
NSArray<NSString>
getIntentIdentifiers()
UNNotificationCategoryOptions
getOptions()
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
-
UNNotificationCategory
protected UNNotificationCategory()
-
UNNotificationCategory
protected UNNotificationCategory(NSObject.Handle h, long handle)
-
UNNotificationCategory
protected UNNotificationCategory(NSObject.SkipInit skipInit)
-
UNNotificationCategory
public UNNotificationCategory(java.lang.String identifier, NSArray<UNNotificationAction> actions, NSArray<NSString> intentIdentifiers, UNNotificationCategoryOptions options)
-
UNNotificationCategory
public UNNotificationCategory(java.lang.String identifier, NSArray<UNNotificationAction> actions, NSArray<NSString> intentIdentifiers, java.lang.String hiddenPreviewsBodyPlaceholder, UNNotificationCategoryOptions options)
- Since:
- Available in iOS 11.0 and later.
-
UNNotificationCategory
public UNNotificationCategory(java.lang.String identifier, NSArray<UNNotificationAction> actions, NSArray<NSString> intentIdentifiers, java.lang.String hiddenPreviewsBodyPlaceholder, java.lang.String categorySummaryFormat, UNNotificationCategoryOptions options)
- Since:
- Available in iOS 12.0 and later.
-
UNNotificationCategory
public UNNotificationCategory(NSCoder decoder)
-
-
Method Detail
-
getIdentifier
public java.lang.String getIdentifier()
-
getActions
public NSArray<UNNotificationAction> getActions()
-
getOptions
public UNNotificationCategoryOptions getOptions()
-
getHiddenPreviewsBodyPlaceholder
public java.lang.String getHiddenPreviewsBodyPlaceholder()
- Since:
- Available in iOS 11.0 and later.
-
getCategorySummaryFormat
public java.lang.String getCategorySummaryFormat()
- Since:
- Available in iOS 12.0 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
create
protected static long create(java.lang.String identifier, NSArray<UNNotificationAction> actions, NSArray<NSString> intentIdentifiers, UNNotificationCategoryOptions options)
-
create
protected static long create(java.lang.String identifier, NSArray<UNNotificationAction> actions, NSArray<NSString> intentIdentifiers, java.lang.String hiddenPreviewsBodyPlaceholder, UNNotificationCategoryOptions options)
- Since:
- Available in iOS 11.0 and later.
-
create
protected static long create(java.lang.String identifier, NSArray<UNNotificationAction> actions, NSArray<NSString> intentIdentifiers, java.lang.String hiddenPreviewsBodyPlaceholder, java.lang.String categorySummaryFormat, UNNotificationCategoryOptions options)
- Since:
- Available in iOS 12.0 and later.
-
init
protected long init(NSCoder decoder)
-
-