Package org.robovm.apple.addressbook
Class ABGroup
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.apple.corefoundation.CFType
-
- org.robovm.apple.addressbook.ABRecord
-
- org.robovm.apple.addressbook.ABGroup
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class ABGroup extends ABRecord
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ABGroup.AsListMarshaler
-
Nested classes/interfaces inherited from class org.robovm.apple.addressbook.ABRecord
ABRecord.Marshaler, ABRecord.NoRetainMarshaler
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.CFTypePtr
-
-
Constructor Summary
Constructors Constructor Description ABGroup()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
addMember(ABPerson person)
Deprecated.Deprecated in iOS 9.0. use [CNSaveRequest addMember:toGroup:]static ABGroup
create()
Deprecated.Deprecated in iOS 9.0. use [[CNMutableGroup alloc] init]static ABGroup
create(ABSource source)
Deprecated.Deprecated in iOS 9.0. use [[CNMutableGroup alloc] init] and [CNSaveRequest addGroup:toContainerWithIdentifier:]java.util.List<ABPerson>
getAllMembers()
Deprecated.Deprecated in iOS 9.0. use CNContactFetchRequest with predicate = [CNContact predicateForContactsInGroupWithIdentifier:]java.util.List<ABPerson>
getAllMembers(ABPersonSortOrdering sortOrdering)
Deprecated.Deprecated in iOS 9.0. use CNContactFetchRequest with predicate = [CNContact predicateForContactsInGroupWithIdentifier:] and sortOrderjava.lang.String
getName()
ABSource
getSource()
Deprecated.Deprecated in iOS 9.0. use [CNContactStore containersMatchingPredicate:[CNContainer predicateForContainerOfGroupWithIdentifier:] error:]boolean
removeMember(ABPerson member)
Deprecated.Deprecated in iOS 9.0. use [CNSaveRequest removeMember:fromGroup:]ABGroup
setName(java.lang.String name)
-
Methods inherited from class org.robovm.apple.addressbook.ABRecord
getCompositeName, getRecordID, getRecordType, getValue, getValue, removeValue, setValue
-
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
-
getName
public java.lang.String getName()
-
setName
public ABGroup setName(java.lang.String name) throws NSErrorException
- Throws:
NSErrorException
-
create
@Deprecated public static ABGroup create()
Deprecated.Deprecated in iOS 9.0. use [[CNMutableGroup alloc] init]- Since:
- Available in iOS 2.0 and later.
-
create
@Deprecated public static ABGroup create(ABSource source)
Deprecated.Deprecated in iOS 9.0. use [[CNMutableGroup alloc] init] and [CNSaveRequest addGroup:toContainerWithIdentifier:]- Since:
- Available in iOS 2.0 and later.
-
getSource
@Deprecated public ABSource getSource()
Deprecated.Deprecated in iOS 9.0. use [CNContactStore containersMatchingPredicate:[CNContainer predicateForContainerOfGroupWithIdentifier:] error:]- Since:
- Available in iOS 2.0 and later.
-
getAllMembers
@Deprecated public java.util.List<ABPerson> getAllMembers()
Deprecated.Deprecated in iOS 9.0. use CNContactFetchRequest with predicate = [CNContact predicateForContactsInGroupWithIdentifier:]- Since:
- Available in iOS 2.0 and later.
-
getAllMembers
@Deprecated public java.util.List<ABPerson> getAllMembers(ABPersonSortOrdering sortOrdering)
Deprecated.Deprecated in iOS 9.0. use CNContactFetchRequest with predicate = [CNContact predicateForContactsInGroupWithIdentifier:] and sortOrder- Since:
- Available in iOS 2.0 and later.
-
addMember
@Deprecated public boolean addMember(ABPerson person) throws NSErrorException
Deprecated.Deprecated in iOS 9.0. use [CNSaveRequest addMember:toGroup:]- Throws:
NSErrorException
- Since:
- Available in iOS 2.0 and later.
-
removeMember
@Deprecated public boolean removeMember(ABPerson member) throws NSErrorException
Deprecated.Deprecated in iOS 9.0. use [CNSaveRequest removeMember:fromGroup:]- Throws:
NSErrorException
- Since:
- Available in iOS 2.0 and later.
-
-