Package org.robovm.apple.corelocation
Class CLRegion
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.corelocation.CLRegion
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
CLBeaconRegion
,CLCircularRegion
public class CLRegion extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 4.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CLRegion.CLRegionPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description CLRegion()
CLRegion(CLLocationCoordinate2D center, double radius, java.lang.String identifier)
Deprecated.Deprecated in iOS 7.0.CLRegion(NSCoder decoder)
protected
CLRegion(NSObject.Handle h, long handle)
protected
CLRegion(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsCoordinate(CLLocationCoordinate2D coordinate)
Deprecated.Deprecated in iOS 7.0.void
encode(NSCoder coder)
CLLocationCoordinate2D
getCenter()
Deprecated.Deprecated in iOS 7.0.java.lang.String
getIdentifier()
double
getRadius()
Deprecated.Deprecated in iOS 7.0.protected long
init(CLLocationCoordinate2D center, double radius, java.lang.String identifier)
Deprecated.Deprecated in iOS 7.0.protected long
init(NSCoder decoder)
boolean
notifiesOnEntry()
boolean
notifiesOnExit()
void
setNotifiesOnEntry(boolean v)
void
setNotifiesOnExit(boolean v)
static boolean
supportsSecureCoding()
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
CLRegion
public CLRegion()
-
CLRegion
protected CLRegion(NSObject.Handle h, long handle)
-
CLRegion
protected CLRegion(NSObject.SkipInit skipInit)
-
CLRegion
@Deprecated public CLRegion(CLLocationCoordinate2D center, double radius, java.lang.String identifier)
Deprecated.Deprecated in iOS 7.0. Please see CLCircularRegion- Since:
- Available in iOS 4.0 and later.
-
CLRegion
public CLRegion(NSCoder decoder)
-
-
Method Detail
-
getCenter
@Deprecated public CLLocationCoordinate2D getCenter()
Deprecated.Deprecated in iOS 7.0. Please see CLCircularRegion- Since:
- Available in iOS 4.0 and later.
-
getRadius
@Deprecated public double getRadius()
Deprecated.Deprecated in iOS 7.0. Please see CLCircularRegion- Since:
- Available in iOS 4.0 and later.
-
getIdentifier
public java.lang.String getIdentifier()
- Since:
- Available in iOS 4.0 and later.
-
notifiesOnEntry
public boolean notifiesOnEntry()
- Since:
- Available in iOS 7.0 and later.
-
setNotifiesOnEntry
public void setNotifiesOnEntry(boolean v)
- Since:
- Available in iOS 7.0 and later.
-
notifiesOnExit
public boolean notifiesOnExit()
- Since:
- Available in iOS 7.0 and later.
-
setNotifiesOnExit
public void setNotifiesOnExit(boolean v)
- Since:
- Available in iOS 7.0 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
init
@Deprecated protected long init(CLLocationCoordinate2D center, double radius, java.lang.String identifier)
Deprecated.Deprecated in iOS 7.0. Please see CLCircularRegion- Since:
- Available in iOS 4.0 and later.
-
containsCoordinate
@Deprecated public boolean containsCoordinate(CLLocationCoordinate2D coordinate)
Deprecated.Deprecated in iOS 7.0. Please see CLCircularRegion- Since:
- Available in iOS 4.0 and later.
-
init
protected long init(NSCoder decoder)
-
-