コード例 #1
0
 /** @since Available in iOS 4.0 and later. */
 public CVImageBufferFieldDetail getFieldDetail() {
   if (has(CVImageBufferAttribute.FieldDetail)) {
     CFString val = get(CVImageBufferAttribute.FieldDetail, CFString.class);
     return CVImageBufferFieldDetail.valueOf(val);
   }
   return null;
 }
コード例 #2
0
 /** @since Available in iOS 4.0 and later. */
 public CVImageBufferAttributes setFieldDetail(CVImageBufferFieldDetail fieldDetail) {
   set(CVImageBufferAttribute.FieldDetail, fieldDetail.value());
   return this;
 }