Package apple.cloudkit
Class CKNotification
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.cloudkit.CKNotification
-
- All Implemented Interfaces:
NSObject
- Direct Known Subclasses:
CKDatabaseNotification,CKQueryNotification,CKRecordZoneNotification
public class CKNotification extends NSObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCKNotification(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()java.lang.StringalertActionLocalizationKey()A key for a localized string to be used as the alert action in a modal style notification.java.lang.StringalertBody()Optional alert string to display in a push notification.java.lang.StringalertLaunchImage()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.StringalertLocalizationKey()Instead of a raw alert string, you may optionally specify a key for a localized string in your app's Localizable.strings file.static CKNotificationalloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)NSNumberbadge()The number to display as the badge of the application iconstatic voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)java.lang.Stringcategory()The category for user-initiated actions in the notificationstatic NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()java.lang.StringcontainerIdentifier()static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()static longhash_static()CKNotificationinit()static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)booleanisPruned()Whether or not the notification fully represents what the server wanted to send.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)static java.lang.Objectnew_objc()static CKNotificationnotificationFromRemoteNotificationDictionary(NSDictionary<?,?> notificationDictionary)CKNotificationIDnotificationID()longnotificationType()When you instantiate a CKNotification from a remote notification dictionary, you will get back a concrete subclass defined below.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)static voidsetVersion_static(long aVersion)java.lang.StringsoundName()The name of a sound file in your app bundle to play upon receiving the notification.java.lang.StringsubscriptionID()The ID of the subscription that caused this notification to fireCKRecordIDsubscriptionOwnerUserRecordID()The user recordID of the owner of the subscription for which this notification was generatedjava.lang.Stringsubtitle()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.StringsubtitleLocalizationKey()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.Classsuperclass_static()java.lang.Stringtitle()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.StringtitleLocalizationKey()Instead of a raw title string, you may optionally specify a key for a localized string in your app's Localizable.strings file.static longversion_static()-
Methods inherited from class apple.NSObject
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, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static CKNotification alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
new_objc
public static java.lang.Object new_objc()
-
notificationFromRemoteNotificationDictionary
public static CKNotification notificationFromRemoteNotificationDictionary(NSDictionary<?,?> notificationDictionary)
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
version_static
public static long version_static()
-
alertActionLocalizationKey
public java.lang.String alertActionLocalizationKey()
A key for a localized string to be used as the alert action in a modal style notification.
-
alertBody
public java.lang.String alertBody()
Optional alert string to display in a push notification.
-
alertLaunchImage
public 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.
-
alertLocalizationArgs
public 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.
-
alertLocalizationKey
public 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.
-
badge
public NSNumber badge()
The number to display as the badge of the application icon
-
category
public java.lang.String category()
The category for user-initiated actions in the notification
-
containerIdentifier
public java.lang.String containerIdentifier()
-
init
public CKNotification init()
-
isPruned
public boolean isPruned()
Whether or not the notification fully represents what the server wanted to send. 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
-
notificationID
public CKNotificationID notificationID()
-
notificationType
public long notificationType()
When you instantiate a CKNotification from a remote notification dictionary, you will get back a concrete subclass defined below. Use notificationType to avoid -isKindOfClass: checks
-
soundName
public java.lang.String soundName()
The name of a sound file in your app bundle to play upon receiving the notification.
-
subscriptionID
public java.lang.String subscriptionID()
The ID of the subscription that caused this notification to fire
-
subtitle
public java.lang.String subtitle()
Optional subtitle of the alert to display in a push notification.
-
subtitleLocalizationArgs
public 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.
-
subtitleLocalizationKey
public 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.
-
title
public java.lang.String title()
Optional title of the alert to display in a push notification.
-
titleLocalizationArgs
public 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.
-
titleLocalizationKey
public 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.
-
subscriptionOwnerUserRecordID
public CKRecordID subscriptionOwnerUserRecordID()
The user recordID of the owner of the subscription for which this notification was generated
-
-