Package org.robovm.apple.carplay
Class CPMapTemplate
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.carplay.CPTemplate
-
- org.robovm.apple.carplay.CPMapTemplate
-
- All Implemented Interfaces:
CPBarButtonProviding
,NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class CPMapTemplate extends CPTemplate implements CPBarButtonProviding
- Since:
- Available in iOS 12.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CPMapTemplate.CPMapTemplatePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.carplay.CPTemplate
CPTemplate.CPTemplatePtr
-
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 CPMapTemplate()
protected
CPMapTemplate(NSObject.Handle h, long handle)
protected
CPMapTemplate(NSObject.SkipInit skipInit)
-
Method Summary
-
Methods inherited from class org.robovm.apple.carplay.CPTemplate
encode, getUserInfo, init, setUserInfo, 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
-
CPMapTemplate
public CPMapTemplate()
-
CPMapTemplate
protected CPMapTemplate(NSObject.Handle h, long handle)
-
CPMapTemplate
protected CPMapTemplate(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getGuidanceBackgroundColor
public UIColor getGuidanceBackgroundColor()
-
setGuidanceBackgroundColor
public void setGuidanceBackgroundColor(UIColor v)
-
getTripEstimateStyle
public CPTripEstimateStyle getTripEstimateStyle()
-
setTripEstimateStyle
public void setTripEstimateStyle(CPTripEstimateStyle v)
-
getMapButtons
public NSArray<CPMapButton> getMapButtons()
-
setMapButtons
public void setMapButtons(NSArray<CPMapButton> v)
-
automaticallyHidesNavigationBar
public boolean automaticallyHidesNavigationBar()
-
setAutomaticallyHidesNavigationBar
public void setAutomaticallyHidesNavigationBar(boolean v)
-
hidesButtonsWithNavigationBar
public boolean hidesButtonsWithNavigationBar()
-
setHidesButtonsWithNavigationBar
public void setHidesButtonsWithNavigationBar(boolean v)
-
getMapDelegate
public CPMapTemplateDelegate getMapDelegate()
-
setMapDelegate
public void setMapDelegate(CPMapTemplateDelegate v)
-
isPanningInterfaceVisible
public boolean isPanningInterfaceVisible()
-
getCurrentNavigationAlert
public CPNavigationAlert getCurrentNavigationAlert()
-
getLeadingNavigationBarButtons
public NSArray<CPBarButton> getLeadingNavigationBarButtons()
- Specified by:
getLeadingNavigationBarButtons
in interfaceCPBarButtonProviding
-
setLeadingNavigationBarButtons
public void setLeadingNavigationBarButtons(NSArray<CPBarButton> v)
- Specified by:
setLeadingNavigationBarButtons
in interfaceCPBarButtonProviding
-
getTrailingNavigationBarButtons
public NSArray<CPBarButton> getTrailingNavigationBarButtons()
- Specified by:
getTrailingNavigationBarButtons
in interfaceCPBarButtonProviding
-
setTrailingNavigationBarButtons
public void setTrailingNavigationBarButtons(NSArray<CPBarButton> v)
- Specified by:
setTrailingNavigationBarButtons
in interfaceCPBarButtonProviding
-
getBackButton
public CPBarButton getBackButton()
- Specified by:
getBackButton
in interfaceCPBarButtonProviding
-
setBackButton
public void setBackButton(CPBarButton v)
- Specified by:
setBackButton
in interfaceCPBarButtonProviding
-
showTripPreviews
public void showTripPreviews(NSArray<CPTrip> tripPreviews, CPTripPreviewTextConfiguration textConfiguration)
-
showRouteChoicesPreviewForTrip
public void showRouteChoicesPreviewForTrip(CPTrip tripPreview, CPTripPreviewTextConfiguration textConfiguration)
-
hideTripPreviews
public void hideTripPreviews()
-
updateTravelEstimates
public void updateTravelEstimates(CPTravelEstimates estimates, CPTrip trip)
-
updateTravelEstimates
public void updateTravelEstimates(CPTravelEstimates estimates, CPTrip trip, CPTimeRemainingColor timeRemainingColor)
-
startNavigationSessionForTrip
public CPNavigationSession startNavigationSessionForTrip(CPTrip trip)
-
showPanningInterfaceAnimated
public void showPanningInterfaceAnimated(boolean animated)
-
dismissPanningInterfaceAnimated
public void dismissPanningInterfaceAnimated(boolean animated)
-
presentNavigationAlert
public void presentNavigationAlert(CPNavigationAlert navigationAlert, boolean animated)
-
dismissNavigationAlertAnimated
public void dismissNavigationAlertAnimated(boolean animated, org.robovm.objc.block.VoidBooleanBlock completion)
-
-