Package org.robovm.apple.mapkit
Class MKUserLocation
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.mapkit.MKUserLocation
-
- All Implemented Interfaces:
NSObjectProtocol
,MKAnnotation
,org.robovm.objc.ObjCProtocol
public class MKUserLocation extends NSObject implements MKAnnotation
- Since:
- Available in iOS 3.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MKUserLocation.MKUserLocationPtr
-
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 MKUserLocation()
protected
MKUserLocation(NSObject.Handle h, long handle)
protected
MKUserLocation(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CLLocationCoordinate2D
getCoordinate()
CLHeading
getHeading()
CLLocation
getLocation()
java.lang.String
getSubtitle()
java.lang.String
getTitle()
boolean
isUpdating()
void
setCoordinate(CLLocationCoordinate2D v)
void
setSubtitle(java.lang.String v)
void
setTitle(java.lang.String v)
-
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
-
MKUserLocation
public MKUserLocation()
-
MKUserLocation
protected MKUserLocation(NSObject.Handle h, long handle)
-
MKUserLocation
protected MKUserLocation(NSObject.SkipInit skipInit)
-
-
Method Detail
-
isUpdating
public boolean isUpdating()
-
getLocation
public CLLocation getLocation()
-
getHeading
public CLHeading getHeading()
- Since:
- Available in iOS 5.0 and later.
-
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle
in interfaceMKAnnotation
-
setTitle
public void setTitle(java.lang.String v)
-
getSubtitle
public java.lang.String getSubtitle()
- Specified by:
getSubtitle
in interfaceMKAnnotation
-
setSubtitle
public void setSubtitle(java.lang.String v)
-
getCoordinate
public CLLocationCoordinate2D getCoordinate()
- Specified by:
getCoordinate
in interfaceMKAnnotation
-
setCoordinate
public void setCoordinate(CLLocationCoordinate2D v)
- Specified by:
setCoordinate
in interfaceMKAnnotation
-
-