public class NEAppPushManager extends NSObject
The NEAppPushManager class declares a programmatic interface to configure NEAppPushProvider.
NEAppPushManager declares methods and properties for configuring and managing life cycle of app push provider.
Instances of this class are thread safe.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NEAppPushManager.Block_loadAllFromPreferencesWithCompletionHandler |
static interface |
NEAppPushManager.Block_loadFromPreferencesWithCompletionHandler |
static interface |
NEAppPushManager.Block_removeFromPreferencesWithCompletionHandler |
static interface |
NEAppPushManager.Block_saveToPreferencesWithCompletionHandler |
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
NEAppPushManager(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static NEAppPushManager |
alloc() |
static NEAppPushManager |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static java.lang.String |
debugDescription_static() |
NEAppPushDelegate |
delegate()
[@property] delegate
|
static java.lang.String |
description_static() |
static long |
hash_static() |
NEAppPushManager |
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 |
isActive()
[@property] active
|
boolean |
isEnabled()
[@property] enabled
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static void |
loadAllFromPreferencesWithCompletionHandler(NEAppPushManager.Block_loadAllFromPreferencesWithCompletionHandler completionHandler)
loadAllFromPreferencesWithCompletionHandler:
|
void |
loadFromPreferencesWithCompletionHandler(NEAppPushManager.Block_loadFromPreferencesWithCompletionHandler completionHandler)
loadFromPreferencesWithCompletionHandler:
|
java.lang.String |
localizedDescription()
[@property] localizedDescription
|
NSArray<? extends NEPrivateLTENetwork> |
matchPrivateLTENetworks()
[@property] matchPrivateLTENetworks
|
NSArray<java.lang.String> |
matchSSIDs()
[@property] matchSSIDs
|
static NEAppPushManager |
new_objc() |
java.lang.String |
providerBundleIdentifier()
[@property] providerBundleIdentifier
|
NSDictionary<java.lang.String,?> |
providerConfiguration()
[@property] providerConfiguration
|
void |
removeFromPreferencesWithCompletionHandler(NEAppPushManager.Block_removeFromPreferencesWithCompletionHandler completionHandler)
removeFromPreferencesWithCompletionHandler:
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
saveToPreferencesWithCompletionHandler(NEAppPushManager.Block_saveToPreferencesWithCompletionHandler completionHandler)
saveToPreferencesWithCompletionHandler:
|
void |
setDelegate_unsafe(NEAppPushDelegate value)
[@property] delegate
|
void |
setDelegate(NEAppPushDelegate value)
[@property] delegate
|
void |
setEnabled(boolean value)
[@property] enabled
|
void |
setLocalizedDescription(java.lang.String value)
[@property] localizedDescription
|
void |
setMatchPrivateLTENetworks(NSArray<? extends NEPrivateLTENetwork> value)
[@property] matchPrivateLTENetworks
|
void |
setMatchSSIDs(NSArray<java.lang.String> value)
[@property] matchSSIDs
|
void |
setProviderBundleIdentifier(java.lang.String value)
[@property] providerBundleIdentifier
|
void |
setProviderConfiguration(NSDictionary<java.lang.String,?> value)
[@property] providerConfiguration
|
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
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 NEAppPushManager alloc()
public static NEAppPushManager 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 NEAppPushDelegate delegate()
An instance of type NEAppPushDelegate that is required to receive incoming call informarion from the provider.
public static java.lang.String description_static()
public static long hash_static()
public NEAppPushManager init()
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 boolean isActive()
If set to YES, it indicates the associated configuration is in use. Use KVO to watch for changes.
public boolean isEnabled()
Toggles the enabled status of the configuration. This property will be set to NO when the same app saves another configuration that overlaps with this configuration.
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static void loadAllFromPreferencesWithCompletionHandler(NEAppPushManager.Block_loadAllFromPreferencesWithCompletionHandler completionHandler)
This class method asynchronously reads all of the saved configurations and returns them as an array of NEAppPushManager objects.
completionHandler - A block that takes an array of NEAppPushManager objects. The array passed to the block may be empty if no configurations
were successfully read from the disk. The NSError object passed to this block will be nil if the load operation succeeded, non-nil otherwise.public void loadFromPreferencesWithCompletionHandler(NEAppPushManager.Block_loadFromPreferencesWithCompletionHandler completionHandler)
This method loads the saved configuration from the persistent store.
completionHandler - A block that will be called when the load operation is completed. The NSError object passed to this block will be nil if the load operation succeeded, non-nil otherwise.public java.lang.String localizedDescription()
A string containing a description of the app push manager.
public NSArray<java.lang.String> matchSSIDs()
An array of Wi-Fi SSID strings. If the SSID string of current Wi-Fi network matches with one of these strings then the NEAppPushProvider is started. The upper limit of number of SSIDs is 10.
public static NEAppPushManager new_objc()
public java.lang.String providerBundleIdentifier()
A string containing the bundle identifier of the NEAppPushProvider.
public NSDictionary<java.lang.String,?> providerConfiguration()
A dictionary containing vendor-specific key-value pairs, where the data type of values must be one of the data types supported by property list. Values of user defined data type are not supported. This dictionary is passed as-is to NEAppPushProvider when is it is started or notified for other specified reasons.
public void removeFromPreferencesWithCompletionHandler(NEAppPushManager.Block_removeFromPreferencesWithCompletionHandler completionHandler)
This method removes the configuration from the persistent store.
completionHandler - A block that will be called when the remove operation is completed. The NSError object passed to this block will be nil if the remove operation succeeded, non-nil otherwise.public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public void saveToPreferencesWithCompletionHandler(NEAppPushManager.Block_saveToPreferencesWithCompletionHandler completionHandler)
This method saves the configuration in the persistent store.
completionHandler - A block that will be called when the save operation is completed. The NSError object passed to this block will be nil if the save operation succeeded, non-nil otherwise.public void setDelegate_unsafe(NEAppPushDelegate value)
An instance of type NEAppPushDelegate that is required to receive incoming call informarion from the provider.
public void setDelegate(NEAppPushDelegate value)
An instance of type NEAppPushDelegate that is required to receive incoming call informarion from the provider.
public void setEnabled(boolean value)
Toggles the enabled status of the configuration. This property will be set to NO when the same app saves another configuration that overlaps with this configuration.
public void setLocalizedDescription(java.lang.String value)
A string containing a description of the app push manager.
public void setMatchSSIDs(NSArray<java.lang.String> value)
An array of Wi-Fi SSID strings. If the SSID string of current Wi-Fi network matches with one of these strings then the NEAppPushProvider is started. The upper limit of number of SSIDs is 10.
public void setProviderBundleIdentifier(java.lang.String value)
A string containing the bundle identifier of the NEAppPushProvider.
public void setProviderConfiguration(NSDictionary<java.lang.String,?> value)
A dictionary containing vendor-specific key-value pairs, where the data type of values must be one of the data types supported by property list. Values of user defined data type are not supported. This dictionary is passed as-is to NEAppPushProvider when is it is started or notified for other specified reasons.
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public NSArray<? extends NEPrivateLTENetwork> matchPrivateLTENetworks()
An array of NEPrivateLTENetwork objects. If the properties of current private LTE network match with properties of one of these NEPrivateLTENetwork objects then the NEAppPushProvider is started. The upper limit of number of private LTE networks is 10. For private LTE networks that are not band 48, the device must be supervised in order to perform the match
public void setMatchPrivateLTENetworks(NSArray<? extends NEPrivateLTENetwork> value)
An array of NEPrivateLTENetwork objects. If the properties of current private LTE network match with properties of one of these NEPrivateLTENetwork objects then the NEAppPushProvider is started. The upper limit of number of private LTE networks is 10. For private LTE networks that are not band 48, the device must be supervised in order to perform the match