Class CoreFoundation.CFArrayRef

java.lang.Object
oshi.ffm.mac.CoreFoundation.CFTypeRef
oshi.ffm.mac.CoreFoundation.CFArrayRef
Enclosing interface:
CoreFoundation

public static class CoreFoundation.CFArrayRef extends CoreFoundation.CFTypeRef
A reference to a CFArray object
  • Constructor Details

  • Method Details

    • getCount

      public int getCount()
      Get the count of items in the array
      Returns:
      Number of items
    • getValueAtIndex

      public MemorySegment getValueAtIndex(int idx)
      Get a value at the specified index
      Parameters:
      idx - The index
      Returns:
      The value at that index