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,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 classCPNavigationAlert.CPNavigationAlertPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields Modifier and Type Field Description static intgetNavigationAlertMinimumDuration -
Constructor Summary
Constructors Modifier Constructor Description CPNavigationAlert()CPNavigationAlert(NSArray<NSString> titleVariants, NSArray<NSString> subtitleVariants, CPImageSet imageSet, CPAlertAction primaryAction, CPAlertAction secondaryAction, double duration)Deprecated.Deprecated in iOS 13.0.CPNavigationAlert(NSArray<NSString> titleVariants, NSArray<NSString> subtitleVariants, UIImage image, CPAlertAction primaryAction, CPAlertAction secondaryAction, double duration)CPNavigationAlert(NSCoder coder)protectedCPNavigationAlert(NSObject.Handle h, long handle)protectedCPNavigationAlert(NSObject.SkipInit skipInit) -
Method Summary
Modifier and Type Method Description voidencode(NSCoder coder)doublegetDuration()UIImagegetImage()CPImageSetgetImageSet()CPAlertActiongetPrimaryAction()CPAlertActiongetSecondaryAction()NSArray<NSString>getSubtitleVariants()NSArray<NSString>getTitleVariants()protected longinit(NSArray<NSString> titleVariants, NSArray<NSString> subtitleVariants, CPImageSet imageSet, CPAlertAction primaryAction, CPAlertAction secondaryAction, double duration)Deprecated.Deprecated in iOS 13.0.protected longinit(NSArray<NSString> titleVariants, NSArray<NSString> subtitleVariants, UIImage image, CPAlertAction primaryAction, CPAlertAction secondaryAction, double duration)protected longinit(NSCoder coder)static booleansupportsSecureCoding()voidupdateTitleVariants(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, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Field Details
-
getNavigationAlertMinimumDuration
public static final int getNavigationAlertMinimumDuration- See Also:
- Constant Field Values
-
-
Constructor Details
-
CPNavigationAlert
public CPNavigationAlert() -
CPNavigationAlert
-
CPNavigationAlert
-
CPNavigationAlert
@Deprecated public CPNavigationAlert(NSArray<NSString> titleVariants, NSArray<NSString> subtitleVariants, CPImageSet imageSet, CPAlertAction primaryAction, CPAlertAction secondaryAction, double duration)Deprecated.Deprecated in iOS 13.0. Use initWithTitleVariants:subtitleVariants:image:primaryAction:secondaryAction:duration- Since:
- Available in iOS 12.0 and later.
-
CPNavigationAlert
public CPNavigationAlert(NSArray<NSString> titleVariants, NSArray<NSString> subtitleVariants, UIImage image, CPAlertAction primaryAction, CPAlertAction secondaryAction, double duration) -
CPNavigationAlert
-
-
Method Details
-
getTitleVariants
-
getSubtitleVariants
-
getImageSet
-
getImage
-
getPrimaryAction
-
getSecondaryAction
-
getDuration
public double getDuration() -
supportsSecureCoding
public static boolean supportsSecureCoding() -
init
@Deprecated protected long init(NSArray<NSString> titleVariants, NSArray<NSString> subtitleVariants, CPImageSet imageSet, CPAlertAction primaryAction, CPAlertAction secondaryAction, double duration)Deprecated.Deprecated in iOS 13.0. Use initWithTitleVariants:subtitleVariants:image:primaryAction:secondaryAction:duration- Since:
- Available in iOS 12.0 and later.
-
init
protected long init(NSArray<NSString> titleVariants, NSArray<NSString> subtitleVariants, UIImage image, CPAlertAction primaryAction, CPAlertAction secondaryAction, double duration) -
updateTitleVariants
-
encode
-
init
-