コード例 #1
0
 /** @since Available in iOS 8.0 and later. */
 public CIFormat getWorkingFormat() {
   if (has(Keys.WorkingFormat())) {
     NSNumber val = (NSNumber) get(Keys.WorkingFormat());
     return CIFormat.valueOf(val.intValue());
   }
   return null;
 }
コード例 #2
0
 /** @since Available in iOS 8.0 and later. */
 public CIContextOptions setWorkingFormat(CIFormat workingFormat) {
   set(Keys.WorkingFormat(), NSNumber.valueOf(workingFormat.value()));
   return this;
 }