Package org.robovm.apple.carplay
Class CPListItem
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.carplay.CPListItem
- All Implemented Interfaces:
CPListTemplateItem,CPSelectableListItem,NSObjectProtocol,ObjCProtocol
public class CPListItem extends NSObject implements CPSelectableListItem
- Since:
- Available in iOS 12.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCPListItem.CPListItemPtrNested 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
-
Constructor Summary
Constructors Modifier Constructor Description CPListItem()CPListItem(String text, String detailText)CPListItem(String text, String detailText, UIImage image)CPListItem(String text, String detailText, UIImage image, boolean showsDisclosureIndicator)Deprecated.Deprecated in iOS 14.0.CPListItem(String text, String detailText, UIImage image, UIImage accessoryImage, CPListItemAccessoryType accessoryType)protectedCPListItem(NSObject.Handle h, long handle)protectedCPListItem(NSObject.SkipInit skipInit) -
Method Summary
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
-
Constructor Details
-
CPListItem
public CPListItem() -
CPListItem
-
CPListItem
-
CPListItem
public CPListItem(String text, String detailText, UIImage image, UIImage accessoryImage, CPListItemAccessoryType accessoryType)- Since:
- Available in iOS 14.0 and later.
-
CPListItem
-
CPListItem
-
CPListItem
@Deprecated public CPListItem(String text, String detailText, UIImage image, boolean showsDisclosureIndicator)Deprecated.Deprecated in iOS 14.0. Use initWithText:detailText:image:accessoryImage:accessoryType:- Since:
- Available in iOS 12.0 and later.
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceCPListTemplateItem- Since:
- Available in iOS 15.0 and later.
-
setEnabled
public void setEnabled(boolean v)- Specified by:
setEnabledin interfaceCPListTemplateItem- Since:
- Available in iOS 15.0 and later.
-
getAccessoryType
- Since:
- Available in iOS 14.0 and later.
-
setAccessoryType
- Since:
- Available in iOS 14.0 and later.
-
isExplicitContent
public boolean isExplicitContent()- Since:
- Available in iOS 14.0 and later.
-
setExplicitContent
public void setExplicitContent(boolean v)- Since:
- Available in iOS 14.0 and later.
-
getPlaybackProgress
public double getPlaybackProgress()- Since:
- Available in iOS 14.0 and later.
-
setPlaybackProgress
public void setPlaybackProgress(double v)- Since:
- Available in iOS 14.0 and later.
-
isPlaying
public boolean isPlaying()- Since:
- Available in iOS 14.0 and later.
-
setPlaying
public void setPlaying(boolean v)- Since:
- Available in iOS 14.0 and later.
-
getPlayingIndicatorLocation
- Since:
- Available in iOS 14.0 and later.
-
setPlayingIndicatorLocation
- Since:
- Available in iOS 14.0 and later.
-
getMaximumImageSize
- Since:
- Available in iOS 14.0 and later.
-
getHandler
- Specified by:
getHandlerin interfaceCPSelectableListItem- Since:
- Available in iOS 14.0 and later.
-
setHandler
- Specified by:
setHandlerin interfaceCPSelectableListItem- Since:
- Available in iOS 14.0 and later.
-
getText
- Specified by:
getTextin interfaceCPListTemplateItem
-
setText
-
getUserInfo
- Specified by:
getUserInfoin interfaceCPListTemplateItem
-
setUserInfo
- Specified by:
setUserInfoin interfaceCPListTemplateItem
-
getDetailText
-
setDetailText
-
getImage
-
setImage
-
getAccessoryImage
-
setAccessoryImage
-
showsDisclosureIndicator
Deprecated.Deprecated in iOS 14.0. Use CPListItemAccessoryType- Since:
- Available in iOS 12.0 and later.
-
showsExplicitLabel
Deprecated.Deprecated in iOS 14.0. Use -explicitContent- Since:
- Available in iOS 14.0 and later.
-
setShowsExplicitLabel
Deprecated.Deprecated in iOS 14.0. Use -explicitContent- Since:
- Available in iOS 14.0 and later.
-
init
protected long init(String text, String detailText, UIImage image, UIImage accessoryImage, CPListItemAccessoryType accessoryType)- Since:
- Available in iOS 14.0 and later.
-
init
-
init
-
init
@Deprecated protected long init(String text, String detailText, UIImage image, boolean showsDisclosureIndicator)Deprecated.Deprecated in iOS 14.0. Use initWithText:detailText:image:accessoryImage:accessoryType:- Since:
- Available in iOS 12.0 and later.
-