Package org.robovm.apple.carplay
Class CPNavigationAlert
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.carplay.CPNavigationAlert
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class CPNavigationAlert extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 12.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CPNavigationAlert.CPNavigationAlertPtr
-
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 Modifier and Type Field Description static int
getNavigationAlertMinimumDuration
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description CPNavigationAlert()
CPNavigationAlert(NSArray<NSString> titleVariants, NSArray<NSString> subtitleVariants, CPImageSet imageSet, CPAlertAction primaryAction, CPAlertAction secondaryAction, double duration)
CPNavigationAlert(NSCoder decoder)
protected
CPNavigationAlert(NSObject.Handle h, long handle)
protected
CPNavigationAlert(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encode(NSCoder coder)
double
getDuration()
CPImageSet
getImageSet()
CPAlertAction
getPrimaryAction()
CPAlertAction
getSecondaryAction()
NSArray<NSString>
getSubtitleVariants()
NSArray<NSString>
getTitleVariants()
protected long
init(NSArray<NSString> titleVariants, NSArray<NSString> subtitleVariants, CPImageSet imageSet, CPAlertAction primaryAction, CPAlertAction secondaryAction, double duration)
protected long
init(NSCoder decoder)
static boolean
supportsSecureCoding()
void
updateTitleVariants(NSArray<NSString> newTitleVariants, NSArray<NSString> newSubtitleVariants)
-
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
-
-
-
-
Field Detail
-
getNavigationAlertMinimumDuration
public static final int getNavigationAlertMinimumDuration
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CPNavigationAlert
public CPNavigationAlert()
-
CPNavigationAlert
protected CPNavigationAlert(NSObject.Handle h, long handle)
-
CPNavigationAlert
protected CPNavigationAlert(NSObject.SkipInit skipInit)
-
CPNavigationAlert
public CPNavigationAlert(NSArray<NSString> titleVariants, NSArray<NSString> subtitleVariants, CPImageSet imageSet, CPAlertAction primaryAction, CPAlertAction secondaryAction, double duration)
-
CPNavigationAlert
public CPNavigationAlert(NSCoder decoder)
-
-
Method Detail
-
getImageSet
public CPImageSet getImageSet()
-
getPrimaryAction
public CPAlertAction getPrimaryAction()
-
getSecondaryAction
public CPAlertAction getSecondaryAction()
-
getDuration
public double getDuration()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
init
protected long init(NSArray<NSString> titleVariants, NSArray<NSString> subtitleVariants, CPImageSet imageSet, CPAlertAction primaryAction, CPAlertAction secondaryAction, double duration)
-
updateTitleVariants
public void updateTitleVariants(NSArray<NSString> newTitleVariants, NSArray<NSString> newSubtitleVariants)
-
init
protected long init(NSCoder decoder)
-
-