Package apple.corelocation
Class CLBeaconRegion
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.corelocation.CLRegion
-
- apple.corelocation.CLBeaconRegion
-
- All Implemented Interfaces:
NSCoding,NSCopying,NSSecureCoding,NSObject
public class CLBeaconRegion extends CLRegion
CLBeaconRegion Discussion: A region containing similar beacons. Such a region can be defined by UUID, major and minor values. UUID must be specified. If only UUID is specified, the major and minor values will be wildcarded and the region will match any beacons with the same UUID. Similarly if only UUID and major value are specified, the minor value will be wildcarded and the region will match against any beacons with the same UUID and major value.
-
-
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 protectedCLBeaconRegion(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean_supportsSecureCoding()This property must return YES on all classes that allow secure coding.static booleanaccessInstanceVariablesDirectly()static CLBeaconRegionalloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)CLBeaconIdentityConstraintbeaconIdentityConstraint()beaconIdentityConstraint Discussion: Returns a CLBeaconIdentityConstraint describing the beacons this region monitors.static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(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.ClassclassForKeyedUnarchiver()static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()static longhash_static()CLBeaconRegioninit()CLBeaconRegioninitCircularRegionWithCenterRadiusIdentifier(CLLocationCoordinate2D center, double radius, java.lang.String identifier)Deprecated.CLBeaconRegioninitWithBeaconIdentityConstraintIdentifier(CLBeaconIdentityConstraint beaconIdentityConstraint, java.lang.String identifier)initWithBeaconIdentityConstraint:identifier: Discussion: Initialize a beacon region described by a beacon identity constraint.CLBeaconRegioninitWithCoder(NSCoder coder)NS_DESIGNATED_INITIALIZERCLBeaconRegioninitWithProximityUUIDIdentifier(NSUUID proximityUUID, java.lang.String identifier)CLBeaconRegioninitWithProximityUUIDMajorIdentifier(NSUUID proximityUUID, char major, java.lang.String identifier)CLBeaconRegioninitWithProximityUUIDMajorMinorIdentifier(NSUUID proximityUUID, char major, char minor, java.lang.String identifier)CLBeaconRegioninitWithUUIDIdentifier(NSUUID uuid, java.lang.String identifier)initWithUUID:identifier: Discussion: Initialize a beacon region with a UUID.CLBeaconRegioninitWithUUIDMajorIdentifier(NSUUID uuid, char major, java.lang.String identifier)initWithUUID:major:identifier: Discussion: Initialize a beacon region with a UUID and major value.CLBeaconRegioninitWithUUIDMajorMinorIdentifier(NSUUID uuid, char major, char minor, java.lang.String identifier)initWithUUID:major:minor:identifier: Discussion: Initialize a beacon region identified by a UUID, major and minor values.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)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)NSNumbermajor()major Discussion: Most significant value associated with the region.NSNumberminor()minor Discussion: Least significant value associated with the region.static java.lang.Objectnew_objc()booleannotifyEntryStateOnDisplay()notifyEntryStateOnDisplay Discussion: App will be launched and the delegate will be notified via locationManager:didDetermineState:forRegion: when the device's screen is turned on and the user is in the region.NSMutableDictionary<java.lang.String,java.lang.Object>peripheralDataWithMeasuredPower(NSNumber measuredPower)peripheralDataWithMeasuredPower: Discussion: This dictionary can be used to advertise the current device as a beacon when used in conjunction with CoreBluetooth's CBPeripheralManager startAdvertising: method.NSUUIDproximityUUID()static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetNotifyEntryStateOnDisplay(boolean value)notifyEntryStateOnDisplay Discussion: App will be launched and the delegate will be notified via locationManager:didDetermineState:forRegion: when the device's screen is turned on and the user is in the region.static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()static booleansupportsSecureCoding()NSUUIDUUID()UUID Discussion: UUID associated with the region.static longversion_static()-
Methods inherited from class apple.corelocation.CLRegion
center, containsCoordinate, copyWithZone, encodeWithCoder, identifier, notifyOnEntry, notifyOnExit, radius, setNotifyOnEntry, setNotifyOnExit
-
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 CLBeaconRegion 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()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
version_static
public static long version_static()
-
init
public CLBeaconRegion init()
-
initCircularRegionWithCenterRadiusIdentifier
@Deprecated public CLBeaconRegion initCircularRegionWithCenterRadiusIdentifier(CLLocationCoordinate2D center, double radius, java.lang.String identifier)
Deprecated.Description copied from class:CLRegioninitCircularRegionWithCenter:radius:identifier: Discussion: Initialize a region. center gives the coordinates of center of the region, while radius gives the distance in meters between the center and the region's boundary. identifier is a description for the region that could be displayed to the user, and ideally should be chosen by the user. This method has been deprecated, please see CLCircularRegion.- Overrides:
initCircularRegionWithCenterRadiusIdentifierin classCLRegion
-
initWithCoder
public CLBeaconRegion initWithCoder(NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classCLRegion
-
initWithProximityUUIDIdentifier
public CLBeaconRegion initWithProximityUUIDIdentifier(NSUUID proximityUUID, java.lang.String identifier)
-
initWithProximityUUIDMajorIdentifier
public CLBeaconRegion initWithProximityUUIDMajorIdentifier(NSUUID proximityUUID, char major, java.lang.String identifier)
-
initWithProximityUUIDMajorMinorIdentifier
public CLBeaconRegion initWithProximityUUIDMajorMinorIdentifier(NSUUID proximityUUID, char major, char minor, java.lang.String identifier)
-
major
public NSNumber major()
major Discussion: Most significant value associated with the region. If a major value wasn't specified, this will be nil.
-
minor
public NSNumber minor()
minor Discussion: Least significant value associated with the region. If a minor value wasn't specified, this will be nil.
-
notifyEntryStateOnDisplay
public boolean notifyEntryStateOnDisplay()
notifyEntryStateOnDisplay Discussion: App will be launched and the delegate will be notified via locationManager:didDetermineState:forRegion: when the device's screen is turned on and the user is in the region. By default, this is NO.
-
peripheralDataWithMeasuredPower
public NSMutableDictionary<java.lang.String,java.lang.Object> peripheralDataWithMeasuredPower(NSNumber measuredPower)
peripheralDataWithMeasuredPower: Discussion: This dictionary can be used to advertise the current device as a beacon when used in conjunction with CoreBluetooth's CBPeripheralManager startAdvertising: method. The dictionary will contain data that represents the current region in addition to a measured power value. measuredPower is the RSSI of the device observed from one meter in its intended environment. This value is optional, but should be specified to achieve the best ranging performance. If not specified, it will default to a pre-determined value for the device.
-
proximityUUID
public NSUUID proximityUUID()
-
setNotifyEntryStateOnDisplay
public void setNotifyEntryStateOnDisplay(boolean value)
notifyEntryStateOnDisplay Discussion: App will be launched and the delegate will be notified via locationManager:didDetermineState:forRegion: when the device's screen is turned on and the user is in the region. By default, this is NO.
-
_supportsSecureCoding
public boolean _supportsSecureCoding()
Description copied from interface:NSSecureCodingThis property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.- Specified by:
_supportsSecureCodingin interfaceNSSecureCoding- Overrides:
_supportsSecureCodingin classCLRegion
-
UUID
public NSUUID UUID()
UUID Discussion: UUID associated with the region.
-
beaconIdentityConstraint
public CLBeaconIdentityConstraint beaconIdentityConstraint()
beaconIdentityConstraint Discussion: Returns a CLBeaconIdentityConstraint describing the beacons this region monitors.
-
initWithBeaconIdentityConstraintIdentifier
public CLBeaconRegion initWithBeaconIdentityConstraintIdentifier(CLBeaconIdentityConstraint beaconIdentityConstraint, java.lang.String identifier)
initWithBeaconIdentityConstraint:identifier: Discussion: Initialize a beacon region described by a beacon identity constraint.
-
initWithUUIDIdentifier
public CLBeaconRegion initWithUUIDIdentifier(NSUUID uuid, java.lang.String identifier)
initWithUUID:identifier: Discussion: Initialize a beacon region with a UUID. Major and minor values will be wildcarded.
-
initWithUUIDMajorIdentifier
public CLBeaconRegion initWithUUIDMajorIdentifier(NSUUID uuid, char major, java.lang.String identifier)
initWithUUID:major:identifier: Discussion: Initialize a beacon region with a UUID and major value. Minor value will be wildcarded.
-
initWithUUIDMajorMinorIdentifier
public CLBeaconRegion initWithUUIDMajorMinorIdentifier(NSUUID uuid, char major, char minor, java.lang.String identifier)
initWithUUID:major:minor:identifier: Discussion: Initialize a beacon region identified by a UUID, major and minor values.
-
-