Class ABMutableMultiValue

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class ABMutableMultiValue
    extends ABMultiValue
    • Constructor Detail

      • ABMutableMultiValue

        public ABMutableMultiValue()
    • Method Detail

      • addValueAndLabel

        public int addValueAndLabel​(CFType value,
                                    java.lang.String label)
        Parameters:
        value -
        label -
        Returns:
        the id of the added value.
      • addValueAndLabel

        protected int addValueAndLabel​(CFType value,
                                       CFString label)
      • 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.