public class CKNotification extends NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
CKNotification(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
java.lang.String |
alertActionLocalizationKey()
A key for a localized string to be used as the alert action in a modal style notification.
|
java.lang.String |
alertBody()
Optional alert string to display in a push notification.
|
java.lang.String |
alertLaunchImage()
The name of an image in your app bundle to be used as the launch image when launching in response to the notification.
|
NSArray<java.lang.String> |
alertLocalizationArgs()
A list of field names to take from the matching record that is used as substitution variables in a formatted alert string.
|
java.lang.String |
alertLocalizationKey()
Instead of a raw alert string, you may optionally specify a key for a localized string in your app's Localizable.strings file.
|
static CKNotification |
alloc() |
static CKNotification |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
NSNumber |
badge()
The number to display as the badge of the application icon
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
java.lang.String |
category()
The category for user-initiated actions in the notification
|
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
java.lang.String |
containerIdentifier() |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
static long |
hash_static() |
CKNotification |
init() |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
boolean |
isPruned()
Whether or not the notification fully represents what the server wanted to send.
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static CKNotification |
new_objc() |
static CKNotification |
notificationFromRemoteNotificationDictionary(NSDictionary<?,?> notificationDictionary) |
CKNotificationID |
notificationID() |
long |
notificationType()
When you instantiate a CKNotification from a remote notification dictionary, you will get back a concrete
subclass defined below.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
static void |
setVersion_static(long aVersion) |
java.lang.String |
soundName()
The name of a sound file in your app bundle to play upon receiving the notification.
|
java.lang.String |
subscriptionID()
The ID of the subscription that caused this notification to fire
|
CKRecordID |
subscriptionOwnerUserRecordID()
The user recordID of the owner of the subscription for which this notification was generated
|
java.lang.String |
subtitle()
Optional subtitle of the alert to display in a push notification.
|
NSArray<java.lang.String> |
subtitleLocalizationArgs()
A list of field names to take from the matching record that is used as substitution variables in a formatted subtitle string.
|
java.lang.String |
subtitleLocalizationKey()
Instead of a raw subtitle string, you may optionally specify a key for a localized string in your app's Localizable.strings file.
|
static org.moe.natj.objc.Class |
superclass_static() |
java.lang.String |
title()
Optional title of the alert to display in a push notification.
|
NSArray<java.lang.String> |
titleLocalizationArgs()
A list of field names to take from the matching record that is used as substitution variables in a formatted title string.
|
java.lang.String |
titleLocalizationKey()
Instead of a raw title string, you may optionally specify a key for a localized string in your app's Localizable.strings file.
|
static long |
version_static() |
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static CKNotification alloc()
public static CKNotification allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static CKNotification new_objc()
public static CKNotification notificationFromRemoteNotificationDictionary(NSDictionary<?,?> notificationDictionary)
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public java.lang.String alertActionLocalizationKey()
public java.lang.String alertBody()
public java.lang.String alertLaunchImage()
public NSArray<java.lang.String> alertLocalizationArgs()
public java.lang.String alertLocalizationKey()
public NSNumber badge()
public java.lang.String category()
public java.lang.String containerIdentifier()
public CKNotification init()
public boolean isPruned()
Push notifications have a limited size. In some cases, CloudKit servers may not be able to send you a full @c CKNotification's worth of info in one push. In those cases, isPruned returns YES. The order in which we'll drop properties is defined in each @c CKNotification subclass below. The @c CKNotification can be obtained in full via a @c CKFetchNotificationChangesOperation
public CKNotificationID notificationID()
public long notificationType()
public java.lang.String soundName()
public java.lang.String subscriptionID()
public java.lang.String subtitle()
public NSArray<java.lang.String> subtitleLocalizationArgs()
public java.lang.String subtitleLocalizationKey()
public java.lang.String title()
public NSArray<java.lang.String> titleLocalizationArgs()
public java.lang.String titleLocalizationKey()
public CKRecordID subscriptionOwnerUserRecordID()