Package com.sun.jna.platform.mac
Class CoreFoundation.CFArrayRef
- java.lang.Object
- 
- com.sun.jna.PointerType
- 
- com.sun.jna.platform.mac.CoreFoundation.CFTypeRef
- 
- com.sun.jna.platform.mac.CoreFoundation.CFArrayRef
 
 
 
- 
- All Implemented Interfaces:
- NativeMapped
 - Enclosing interface:
- CoreFoundation
 
 public static class CoreFoundation.CFArrayRef extends CoreFoundation.CFTypeRef A reference to an immutableCFArrayobject.CFArray is “toll-free bridged” with its Cocoa Foundation counterpart, NSArray. Therefore, in a method where you see anNSArray *parameter, you can pass in aCFArrayRef.
- 
- 
Constructor SummaryConstructors Constructor Description CFArrayRef()CFArrayRef(Pointer p)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCount()Convenience method forCoreFoundation.CFArrayGetCount(com.sun.jna.platform.mac.CoreFoundation.CFArrayRef)on this objectPointergetValueAtIndex(int idx)Convenience method forCoreFoundation.CFArrayGetValueAtIndex(com.sun.jna.platform.mac.CoreFoundation.CFArrayRef, com.sun.jna.platform.mac.CoreFoundation.CFIndex)on this object- 
Methods inherited from class com.sun.jna.platform.mac.CoreFoundation.CFTypeRefgetTypeID, isTypeID, release, retain
 - 
Methods inherited from class com.sun.jna.PointerTypeequals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
CFArrayRefpublic CFArrayRef() 
 - 
CFArrayRefpublic CFArrayRef(Pointer p) 
 
- 
 - 
Method Detail- 
getCountpublic int getCount() Convenience method forCoreFoundation.CFArrayGetCount(com.sun.jna.platform.mac.CoreFoundation.CFArrayRef)on this object- Returns:
- The number of values in this array.
 
 - 
getValueAtIndexpublic Pointer getValueAtIndex(int idx) Convenience method forCoreFoundation.CFArrayGetValueAtIndex(com.sun.jna.platform.mac.CoreFoundation.CFArrayRef, com.sun.jna.platform.mac.CoreFoundation.CFIndex)on this object- Parameters:
- idx- The index of the value to retrieve.
- Returns:
- The value at the idxindex.
 
 
- 
 
-