Class 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.
    • Constructor Detail

      • CLBeaconRegion

        protected CLBeaconRegion​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • 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()
      • 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()
      • initCircularRegionWithCenterRadiusIdentifier

        @Deprecated
        public CLBeaconRegion initCircularRegionWithCenterRadiusIdentifier​(CLLocationCoordinate2D center,
                                                                           double radius,
                                                                           java.lang.String identifier)
        Deprecated.
        Description copied from class: CLRegion
        initCircularRegionWithCenter: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:
        initCircularRegionWithCenterRadiusIdentifier in class CLRegion
      • 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: NSSecureCoding
        This 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:
        _supportsSecureCoding in interface NSSecureCoding
        Overrides:
        _supportsSecureCoding in class CLRegion
      • 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.