Package org.robovm.apple.contacts
Class CNContactFormatter
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.foundation.NSFormatter
-
- org.robovm.apple.contacts.CNContactFormatter
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class CNContactFormatter extends NSFormatter implements NSSecureCoding
- Since:
- Available in iOS 9.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CNContactFormatter.CNContactFormatterPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSFormatter
NSFormatter.NSFormatterPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description CNContactFormatter()
protected
CNContactFormatter(NSObject.Handle h, long handle)
protected
CNContactFormatter(NSObject.SkipInit skipInit)
-
Method Summary
-
Methods inherited from class org.robovm.apple.foundation.NSFormatter
encode, init
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
CNContactFormatter
public CNContactFormatter()
-
CNContactFormatter
protected CNContactFormatter(NSObject.Handle h, long handle)
-
CNContactFormatter
protected CNContactFormatter(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getStyle
public CNContactFormatterStyle getStyle()
-
setStyle
public void setStyle(CNContactFormatterStyle v)
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
format
public NSAttributedString format(CNContact contact, NSAttributedStringAttributes attributes)
-
format
public NSAttributedString format(CNContact contact, CTAttributedStringAttributes attributes)
-
format
public NSAttributedString format(CNContact contact, CMTextMarkupAttributes attributes)
-
format
public static NSAttributedString format(CNContact contact, CNContactFormatterStyle style, NSAttributedStringAttributes attributes)
-
format
public static NSAttributedString format(CNContact contact, CNContactFormatterStyle style, CTAttributedStringAttributes attributes)
-
format
public static NSAttributedString format(CNContact contact, CNContactFormatterStyle style, CMTextMarkupAttributes attributes)
-
PropertyAttribute
public static NSString PropertyAttribute()
-
format
public java.lang.String format(CNContact contact)
-
format
public NSAttributedString format(CNContact contact, NSDictionary<?,?> attributes)
-
getDescriptorForRequiredKeys
public static java.lang.String getDescriptorForRequiredKeys(CNContactFormatterStyle style)
-
format
public static java.lang.String format(CNContact contact, CNContactFormatterStyle style)
-
format
public static NSAttributedString format(CNContact contact, CNContactFormatterStyle style, NSDictionary<?,?> attributes)
-
getNameOrder
public static CNContactDisplayNameOrder getNameOrder(CNContact contact)
-
getDelimiter
public static java.lang.String getDelimiter(CNContact contact)
-
-