Package org.robovm.apple.addressbook
Class ABMutableMultiValue
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.addressbook.ABMultiValue
org.robovm.apple.addressbook.ABMutableMultiValue
- All Implemented Interfaces:
AutoCloseable
public class ABMutableMultiValue extends ABMultiValue
-
Nested Class Summary
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Field Summary
Fields inherited from class org.robovm.apple.addressbook.ABMultiValue
InvalidIdentifier -
Constructor Summary
Constructors Constructor Description ABMutableMultiValue() -
Method Summary
Modifier and Type Method Description intaddValueAndLabel(CFType value, String label)protected intaddValueAndLabel(CFType value, CFString label)protected booleanaddValueAndLabel(CFType value, CFString label, IntPtr outIdentifier)Deprecated.Deprecated in iOS 9.0.static ABMutableMultiValuecreate(ABMultiValue multiValue)Deprecated.Deprecated in iOS 9.0.static ABMutableMultiValuecreate(ABPropertyType type)Deprecated.Deprecated in iOS 9.0.intinsertValueAndLabel(CFType value, String label, long index)protected booleaninsertValueAndLabel(CFType value, CFString label, long index, IntPtr outIdentifier)Deprecated.Deprecated in iOS 9.0.booleanremoveValueAndLabel(long index)Deprecated.Deprecated in iOS 9.0.booleanreplaceLabel(String label, long index)protected booleanreplaceLabel(CFString label, long index)Deprecated.Deprecated in iOS 9.0.booleanreplaceValue(CFType value, long index)Deprecated.Deprecated in iOS 9.0.Methods inherited from class org.robovm.apple.addressbook.ABMultiValue
getAllValues, getCount, getIdentifier, getLabel, getPropertyType, getValue, indexOf, indexOfMethods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
Constructor Details
-
ABMutableMultiValue
public ABMutableMultiValue()
-
-
Method Details
-
addValueAndLabel
- Parameters:
value-label-- Returns:
- the id of the added value.
-
addValueAndLabel
-
insertValueAndLabel
- Parameters:
value-label-index-- Returns:
- the id of the inserted value.
-
replaceLabel
-
create
Deprecated.Deprecated in iOS 9.0. use [[NSMutableArray alloc] init] -
create
Deprecated.Deprecated in iOS 9.0. use [NSArray mutableCopy] -
addValueAndLabel
Deprecated.Deprecated in iOS 9.0. use [NSMutableArray addObject:[CNLabeledValue labeledValueWithLabel:value:]] -
insertValueAndLabel
@Deprecated protected boolean insertValueAndLabel(CFType value, CFString label, long index, IntPtr outIdentifier)Deprecated.Deprecated in iOS 9.0. use [NSMutableArray insertObject:[CNLabeledValue labeledValueWithLabel:value:] atIndex:] -
removeValueAndLabel
Deprecated.Deprecated in iOS 9.0. use [NSMutableArray removeObjectAtIndex:] -
replaceValue
Deprecated.Deprecated in iOS 9.0. use [NSMutableArray replaceObjectAtIndex: withObject:[CNLabeledValue labeledValueBySettingValue:]] -
replaceLabel
Deprecated.Deprecated in iOS 9.0. use [NSMutableArray replaceObjectAtIndex: withObject:[CNLabeledValue labeledValueBySettingLabel:]]
-