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:
AutoCloseable
public class ABGroup extends ABRecord
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classABGroup.AsListMarshalerNested classes/interfaces inherited from class org.robovm.apple.addressbook.ABRecord
ABRecord.Marshaler, ABRecord.NoRetainMarshalerNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.CFTypePtr -
Field Summary
-
Constructor Summary
Constructors Constructor Description ABGroup() -
Method Summary
Modifier and Type Method Description booleanaddMember(ABPerson person)Deprecated.Deprecated in iOS 9.0.static ABGroupcreate()Deprecated.Deprecated in iOS 9.0.static ABGroupcreate(ABSource source)Deprecated.Deprecated in iOS 9.0.List<ABPerson>getAllMembers()Deprecated.Deprecated in iOS 9.0.List<ABPerson>getAllMembers(ABPersonSortOrdering sortOrdering)Deprecated.Deprecated in iOS 9.0.StringgetName()ABSourcegetSource()Deprecated.Deprecated in iOS 9.0.booleanremoveMember(ABPerson member)Deprecated.Deprecated in iOS 9.0.ABGroupsetName(String name)Methods inherited from class org.robovm.apple.addressbook.ABRecord
getCompositeName, getRecordID, getRecordType, getValue, getValue, removeValue, setValueMethods 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
-
ABGroup
public ABGroup()
-
-
Method Details
-
getName
-
setName
- Throws:
NSErrorException
-
create
Deprecated.Deprecated in iOS 9.0. use [[CNMutableGroup alloc] init] -
create
Deprecated.Deprecated in iOS 9.0. use [[CNMutableGroup alloc] init] and [CNSaveRequest addGroup:toContainerWithIdentifier:] -
getSource
Deprecated.Deprecated in iOS 9.0. use [CNContactStore containersMatchingPredicate:[CNContainer predicateForContainerOfGroupWithIdentifier:] error:] -
getAllMembers
Deprecated.Deprecated in iOS 9.0. use CNContactFetchRequest with predicate = [CNContact predicateForContactsInGroupWithIdentifier:] -
getAllMembers
Deprecated.Deprecated in iOS 9.0. use CNContactFetchRequest with predicate = [CNContact predicateForContactsInGroupWithIdentifier:] and sortOrder -
addMember
Deprecated.Deprecated in iOS 9.0. use [CNSaveRequest addMember:toGroup:]- Throws:
NSErrorException
-
removeMember
Deprecated.Deprecated in iOS 9.0. use [CNSaveRequest removeMember:fromGroup:]- Throws:
NSErrorException
-