/** @since Available in iOS 4.0 and later. */
 public CVImageBufferColorPrimaries getColorPrimaries() {
   if (has(CVImageBufferAttribute.ColorPrimaries)) {
     CFString val = get(CVImageBufferAttribute.ColorPrimaries, CFString.class);
     return CVImageBufferColorPrimaries.valueOf(val);
   }
   return null;
 }
 /** @since Available in iOS 4.0 and later. */
 public CVImageBufferAttributes setColorPrimaries(CVImageBufferColorPrimaries colorPrimaries) {
   set(CVImageBufferAttribute.ColorPrimaries, colorPrimaries.value());
   return this;
 }