Package com.sun.jna.platform.mac
Klasse CoreFoundation.CFArrayRef
java.lang.Object
com.sun.jna.PointerType
com.sun.jna.platform.mac.CoreFoundation.CFTypeRef
com.sun.jna.platform.mac.CoreFoundation.CFArrayRef
- Alle implementierten Schnittstellen:
NativeMapped
- Umschließende Schnittstelle:
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 .
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintgetCount()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 objectVon Klasse geerbte Methoden com.sun.jna.platform.mac.CoreFoundation.CFTypeRef
getTypeID, isTypeID, release, retainVon Klasse geerbte Methoden com.sun.jna.PointerType
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
-
Konstruktordetails
-
CFArrayRef
public CFArrayRef() -
CFArrayRef
-
-
Methodendetails
-
getCount
public int getCount()Convenience method forCoreFoundation.CFArrayGetCount(com.sun.jna.platform.mac.CoreFoundation.CFArrayRef)on this object- Gibt zurück:
- 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- Parameter:
idx- The index of the value to retrieve.- Gibt zurück:
- The value at the
idxindex.
-