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
 
A reference to an immutable 
CFArray object.
 
 CFArray is “toll-free bridged” with its Cocoa Foundation counterpart,
 NSArray. Therefore, in a method where you see an NSArray *
 parameter, you can pass in a CFArrayRef .
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintgetCount()Convenience method forCoreFoundation.CFArrayGetCount(com.sun.jna.platform.mac.CoreFoundation.CFArrayRef)on this objectgetValueAtIndex(int idx) Convenience method forCoreFoundation.CFArrayGetValueAtIndex(com.sun.jna.platform.mac.CoreFoundation.CFArrayRef, com.sun.jna.platform.mac.CoreFoundation.CFIndex)on this objectMethods inherited from class com.sun.jna.platform.mac.CoreFoundation.CFTypeRef
getTypeID, isTypeID, release, retainMethods inherited from class com.sun.jna.PointerType
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString 
- 
Constructor Details
- 
CFArrayRef
public CFArrayRef() - 
CFArrayRef
 
 - 
 - 
Method Details
- 
getCount
public int getCount()Convenience method forCoreFoundation.CFArrayGetCount(com.sun.jna.platform.mac.CoreFoundation.CFArrayRef)on this object- Returns:
 - The number of values in this array.
 
 - 
getValueAtIndex
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. 
 
 -