Package apple.uikit
Class UILocalNotification
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.uikit.UILocalNotification
-
-
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 protectedUILocalNotification(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.StringalertAction()used in UIAlert button or 'slide to unlock...' slider in place of unlockjava.lang.StringalertBody()defaults to nil. pass a string or localized string key to show an alertjava.lang.StringalertLaunchImage()used as the launch image (UILaunchImageFile) when launch button is tappedjava.lang.StringalertTitle()defaults to nil. pass a string or localized string keystatic UILocalNotificationalloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)longapplicationIconBadgeNumber()0 means no change. defaults to 0static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)java.lang.Stringcategory()category identifer of the local notification, as set on a UIUserNotificationCategory and passed to +[UIUserNotificationSettings settingsForTypes:categories:]static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()java.lang.ObjectcopyWithZone(org.moe.natj.general.ptr.VoidPtr zone)static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()voidencodeWithCoder(NSCoder coder)NSDatefireDate()timer-based schedulingbooleanhasAction()defaults to YES. pass NO to hide launching button/sliderstatic longhash_static()UILocalNotificationinit()UILocalNotificationinitWithCoder(NSCoder coder)NS_DESIGNATED_INITIALIZERstatic 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)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)static java.lang.Objectnew_objc()CLRegionregion()set a CLRegion object to trigger the notification when the user enters or leaves a geographic region, depending upon the properties set on the CLRegion object itself. registering multiple UILocalNotifications with different regions containing the same identifier will result in undefined behavior. the number of region-triggered UILocalNotifications that may be registered at any one time is internally limited. in order to use region-triggered notifications, applications must have "when-in-use" authorization through CoreLocation. see the CoreLocation documentation for more information.booleanregionTriggersOnce()when YES, the notification will only fire one time. when NO, the notification will fire every time the region is entered or exited (depending upon the CLRegion object's configuration). default is YES.NSCalendarrepeatCalendar()longrepeatInterval()0 means don't repeatstatic booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetAlertAction(java.lang.String value)used in UIAlert button or 'slide to unlock...' slider in place of unlockvoidsetAlertBody(java.lang.String value)defaults to nil. pass a string or localized string key to show an alertvoidsetAlertLaunchImage(java.lang.String value)used as the launch image (UILaunchImageFile) when launch button is tappedvoidsetAlertTitle(java.lang.String value)defaults to nil. pass a string or localized string keyvoidsetApplicationIconBadgeNumber(long value)0 means no change. defaults to 0voidsetCategory(java.lang.String value)category identifer of the local notification, as set on a UIUserNotificationCategory and passed to +[UIUserNotificationSettings settingsForTypes:categories:]voidsetFireDate(NSDate value)timer-based schedulingvoidsetHasAction(boolean value)defaults to YES. pass NO to hide launching button/slidervoidsetRegion(CLRegion value)set a CLRegion object to trigger the notification when the user enters or leaves a geographic region, depending upon the properties set on the CLRegion object itself. registering multiple UILocalNotifications with different regions containing the same identifier will result in undefined behavior. the number of region-triggered UILocalNotifications that may be registered at any one time is internally limited. in order to use region-triggered notifications, applications must have "when-in-use" authorization through CoreLocation. see the CoreLocation documentation for more information.voidsetRegionTriggersOnce(boolean value)when YES, the notification will only fire one time. when NO, the notification will fire every time the region is entered or exited (depending upon the CLRegion object's configuration). default is YES.voidsetRepeatCalendar(NSCalendar value)voidsetRepeatInterval(long value)0 means don't repeatvoidsetSoundName(java.lang.String value)name of resource in app's bundle to play or UILocalNotificationDefaultSoundNamevoidsetTimeZone(NSTimeZone value)the time zone to interpret fireDate in. pass nil if fireDate is an absolute GMT time (e.g. for an egg timer).voidsetUserInfo(NSDictionary<?,?> value)throws if contains non-property list typesstatic voidsetVersion_static(long aVersion)java.lang.StringsoundName()name of resource in app's bundle to play or UILocalNotificationDefaultSoundNamestatic org.moe.natj.objc.Classsuperclass_static()NSTimeZonetimeZone()the time zone to interpret fireDate in. pass nil if fireDate is an absolute GMT time (e.g. for an egg timer).NSDictionary<?,?>userInfo()throws if contains non-property list typesstatic 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 UILocalNotification 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()
-
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()
-
alertAction
public java.lang.String alertAction()
used in UIAlert button or 'slide to unlock...' slider in place of unlock
-
alertBody
public java.lang.String alertBody()
defaults to nil. pass a string or localized string key to show an alert
-
alertLaunchImage
public java.lang.String alertLaunchImage()
used as the launch image (UILaunchImageFile) when launch button is tapped
-
alertTitle
public java.lang.String alertTitle()
defaults to nil. pass a string or localized string key
-
applicationIconBadgeNumber
public long applicationIconBadgeNumber()
0 means no change. defaults to 0
-
category
public java.lang.String category()
category identifer of the local notification, as set on a UIUserNotificationCategory and passed to +[UIUserNotificationSettings settingsForTypes:categories:]
-
copyWithZone
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
- Specified by:
copyWithZonein interfaceNSCopying
-
encodeWithCoder
public void encodeWithCoder(NSCoder coder)
- Specified by:
encodeWithCoderin interfaceNSCoding
-
fireDate
public NSDate fireDate()
timer-based scheduling
-
hasAction
public boolean hasAction()
defaults to YES. pass NO to hide launching button/slider
-
init
public UILocalNotification init()
-
initWithCoder
public UILocalNotification initWithCoder(NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding
-
region
public CLRegion region()
set a CLRegion object to trigger the notification when the user enters or leaves a geographic region, depending upon the properties set on the CLRegion object itself. registering multiple UILocalNotifications with different regions containing the same identifier will result in undefined behavior. the number of region-triggered UILocalNotifications that may be registered at any one time is internally limited. in order to use region-triggered notifications, applications must have "when-in-use" authorization through CoreLocation. see the CoreLocation documentation for more information.
-
regionTriggersOnce
public boolean regionTriggersOnce()
when YES, the notification will only fire one time. when NO, the notification will fire every time the region is entered or exited (depending upon the CLRegion object's configuration). default is YES.
-
repeatCalendar
public NSCalendar repeatCalendar()
-
repeatInterval
public long repeatInterval()
0 means don't repeat
-
setAlertAction
public void setAlertAction(java.lang.String value)
used in UIAlert button or 'slide to unlock...' slider in place of unlock
-
setAlertBody
public void setAlertBody(java.lang.String value)
defaults to nil. pass a string or localized string key to show an alert
-
setAlertLaunchImage
public void setAlertLaunchImage(java.lang.String value)
used as the launch image (UILaunchImageFile) when launch button is tapped
-
setAlertTitle
public void setAlertTitle(java.lang.String value)
defaults to nil. pass a string or localized string key
-
setApplicationIconBadgeNumber
public void setApplicationIconBadgeNumber(long value)
0 means no change. defaults to 0
-
setCategory
public void setCategory(java.lang.String value)
category identifer of the local notification, as set on a UIUserNotificationCategory and passed to +[UIUserNotificationSettings settingsForTypes:categories:]
-
setFireDate
public void setFireDate(NSDate value)
timer-based scheduling
-
setHasAction
public void setHasAction(boolean value)
defaults to YES. pass NO to hide launching button/slider
-
setRegion
public void setRegion(CLRegion value)
set a CLRegion object to trigger the notification when the user enters or leaves a geographic region, depending upon the properties set on the CLRegion object itself. registering multiple UILocalNotifications with different regions containing the same identifier will result in undefined behavior. the number of region-triggered UILocalNotifications that may be registered at any one time is internally limited. in order to use region-triggered notifications, applications must have "when-in-use" authorization through CoreLocation. see the CoreLocation documentation for more information.
-
setRegionTriggersOnce
public void setRegionTriggersOnce(boolean value)
when YES, the notification will only fire one time. when NO, the notification will fire every time the region is entered or exited (depending upon the CLRegion object's configuration). default is YES.
-
setRepeatCalendar
public void setRepeatCalendar(NSCalendar value)
-
setRepeatInterval
public void setRepeatInterval(long value)
0 means don't repeat
-
setSoundName
public void setSoundName(java.lang.String value)
name of resource in app's bundle to play or UILocalNotificationDefaultSoundName
-
setTimeZone
public void setTimeZone(NSTimeZone value)
the time zone to interpret fireDate in. pass nil if fireDate is an absolute GMT time (e.g. for an egg timer). pass a time zone to interpret fireDate as a wall time to be adjusted automatically upon time zone changes (e.g. for an alarm clock).
-
setUserInfo
public void setUserInfo(NSDictionary<?,?> value)
throws if contains non-property list types
-
soundName
public java.lang.String soundName()
name of resource in app's bundle to play or UILocalNotificationDefaultSoundName
-
timeZone
public NSTimeZone timeZone()
the time zone to interpret fireDate in. pass nil if fireDate is an absolute GMT time (e.g. for an egg timer). pass a time zone to interpret fireDate as a wall time to be adjusted automatically upon time zone changes (e.g. for an alarm clock).
-
userInfo
public NSDictionary<?,?> userInfo()
throws if contains non-property list types
-
-