예제 #1
0
 /** @since Available in iOS 5.0 and later. */
 public CIDetectorAccuracy getAccuracy() {
   if (has(Keys.Accuracy())) {
     NSString val = (NSString) get(Keys.Accuracy());
     return CIDetectorAccuracy.valueOf(val);
   }
   return null;
 }
예제 #2
0
 /** @since Available in iOS 5.0 and later. */
 public CIDetectorOptions setAccuracy(CIDetectorAccuracy accuracy) {
   set(Keys.Accuracy(), accuracy.value());
   return this;
 }