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:
java.lang.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
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
addValueAndLabel(CFType value, java.lang.String label)
protected int
addValueAndLabel(CFType value, CFString label)
protected boolean
addValueAndLabel(CFType value, CFString label, org.robovm.rt.bro.ptr.IntPtr outIdentifier)
Deprecated.Deprecated in iOS 9.0. use [NSMutableArray addObject:[CNLabeledValue labeledValueWithLabel:value:]]static ABMutableMultiValue
create(ABMultiValue multiValue)
Deprecated.Deprecated in iOS 9.0. use [NSArray mutableCopy]static ABMutableMultiValue
create(ABPropertyType type)
Deprecated.Deprecated in iOS 9.0. use [[NSMutableArray alloc] init]int
insertValueAndLabel(CFType value, java.lang.String label, long index)
protected boolean
insertValueAndLabel(CFType value, CFString label, long index, org.robovm.rt.bro.ptr.IntPtr outIdentifier)
Deprecated.Deprecated in iOS 9.0. use [NSMutableArray insertObject:[CNLabeledValue labeledValueWithLabel:value:] atIndex:]boolean
removeValueAndLabel(long index)
Deprecated.Deprecated in iOS 9.0. use [NSMutableArray removeObjectAtIndex:]boolean
replaceLabel(java.lang.String label, long index)
protected boolean
replaceLabel(CFString label, long index)
Deprecated.Deprecated in iOS 9.0. use [NSMutableArray replaceObjectAtIndex: withObject:[CNLabeledValue labeledValueBySettingLabel:]]boolean
replaceValue(CFType value, long index)
Deprecated.Deprecated in iOS 9.0. use [NSMutableArray replaceObjectAtIndex: withObject:[CNLabeledValue labeledValueBySettingValue:]]-
Methods inherited from class org.robovm.apple.addressbook.ABMultiValue
getAllValues, getCount, getIdentifier, getLabel, getPropertyType, getValue, indexOf, indexOf
-
Methods 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
-
-
-
-
Method Detail
-
addValueAndLabel
public int addValueAndLabel(CFType value, java.lang.String label)
- Parameters:
value
-label
-- Returns:
- the id of the added value.
-
insertValueAndLabel
public int insertValueAndLabel(CFType value, java.lang.String label, long index)
- Parameters:
value
-label
-index
-- Returns:
- the id of the inserted value.
-
replaceLabel
public boolean replaceLabel(java.lang.String label, long index)
-
create
@Deprecated public static ABMutableMultiValue create(ABPropertyType type)
Deprecated.Deprecated in iOS 9.0. use [[NSMutableArray alloc] init]- Since:
- Available in iOS 2.0 and later.
-
create
@Deprecated public static ABMutableMultiValue create(ABMultiValue multiValue)
Deprecated.Deprecated in iOS 9.0. use [NSArray mutableCopy]- Since:
- Available in iOS 2.0 and later.
-
addValueAndLabel
@Deprecated protected boolean addValueAndLabel(CFType value, CFString label, org.robovm.rt.bro.ptr.IntPtr outIdentifier)
Deprecated.Deprecated in iOS 9.0. use [NSMutableArray addObject:[CNLabeledValue labeledValueWithLabel:value:]]- Since:
- Available in iOS 2.0 and later.
-
insertValueAndLabel
@Deprecated protected boolean insertValueAndLabel(CFType value, CFString label, long index, org.robovm.rt.bro.ptr.IntPtr outIdentifier)
Deprecated.Deprecated in iOS 9.0. use [NSMutableArray insertObject:[CNLabeledValue labeledValueWithLabel:value:] atIndex:]- Since:
- Available in iOS 2.0 and later.
-
removeValueAndLabel
@Deprecated public boolean removeValueAndLabel(long index)
Deprecated.Deprecated in iOS 9.0. use [NSMutableArray removeObjectAtIndex:]- Since:
- Available in iOS 2.0 and later.
-
replaceValue
@Deprecated public boolean replaceValue(CFType value, long index)
Deprecated.Deprecated in iOS 9.0. use [NSMutableArray replaceObjectAtIndex: withObject:[CNLabeledValue labeledValueBySettingValue:]]- Since:
- Available in iOS 2.0 and later.
-
replaceLabel
@Deprecated protected boolean replaceLabel(CFString label, long index)
Deprecated.Deprecated in iOS 9.0. use [NSMutableArray replaceObjectAtIndex: withObject:[CNLabeledValue labeledValueBySettingLabel:]]- Since:
- Available in iOS 2.0 and later.
-
-