Package org.robovm.apple.watchkit
Class WKInterfaceMap
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.watchkit.WKInterfaceObject
-
- org.robovm.apple.watchkit.WKInterfaceMap
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class WKInterfaceMap extends WKInterfaceObject
- Since:
- Available in iOS 8.2 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WKInterfaceMap.WKInterfaceMapPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.watchkit.WKInterfaceObject
WKInterfaceObject.WKInterfaceObjectPtr
-
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 protected
WKInterfaceMap()
protected
WKInterfaceMap(NSObject.Handle h, long handle)
protected
WKInterfaceMap(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAnnotation(CLLocationCoordinate2D location, java.lang.String name, CGPoint offset)
void
addAnnotation(CLLocationCoordinate2D location, UIImage image, CGPoint offset)
void
addAnnotation(CLLocationCoordinate2D location, WKInterfaceMapPinColor pinColor)
void
removeAllAnnotations()
void
setRegion(MKCoordinateRegion coordinateRegion)
void
setVisibleMapRect(MKMapRect mapRect)
-
Methods inherited from class org.robovm.apple.watchkit.WKInterfaceObject
getInterfaceProperty, setAccessibilityHint, setAccessibilityIdentifier, setAccessibilityImageRegions, setAccessibilityLabel, setAccessibilityTraits, setAccessibilityValue, setAlpha, setHeight, setHidden, setIsAccessibilityElement, setWidth
-
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
-
WKInterfaceMap
protected WKInterfaceMap()
-
WKInterfaceMap
protected WKInterfaceMap(NSObject.Handle h, long handle)
-
WKInterfaceMap
protected WKInterfaceMap(NSObject.SkipInit skipInit)
-
-
Method Detail
-
setVisibleMapRect
public void setVisibleMapRect(MKMapRect mapRect)
-
setRegion
public void setRegion(MKCoordinateRegion coordinateRegion)
-
addAnnotation
public void addAnnotation(CLLocationCoordinate2D location, UIImage image, CGPoint offset)
-
addAnnotation
public void addAnnotation(CLLocationCoordinate2D location, java.lang.String name, CGPoint offset)
-
addAnnotation
public void addAnnotation(CLLocationCoordinate2D location, WKInterfaceMapPinColor pinColor)
-
removeAllAnnotations
public void removeAllAnnotations()
-
-