예제 #1
0
 /** @since Available in iOS 8.0 and later. */
 public boolean isAlphaChannelOpaque() {
   if (has(CVImageBufferAttribute.AlphaChannelIsOpaque)) {
     CFBoolean val = get(CVImageBufferAttribute.AlphaChannelIsOpaque, CFBoolean.class);
     return val.booleanValue();
   }
   return false;
 }
 /** @since Available in iOS 8.0 and later. */
 public boolean shouldExcludeGPS() {
   if (has(Keys.MetadataShouldExcludeGPS())) {
     CFBoolean val = get(Keys.MetadataShouldExcludeGPS(), CFBoolean.class);
     return val.booleanValue();
   }
   return false;
 }
 /** @since Available in iOS 7.0 and later. */
 public boolean mergesMetadata() {
   if (has(Keys.DestinationMergeMetadata())) {
     CFBoolean val = get(Keys.DestinationMergeMetadata(), CFBoolean.class);
     return val.booleanValue();
   }
   return false;
 }
예제 #4
0
 /** @since Available in iOS 8.0 and later. */
 public CVImageBufferAttributes setAlphaChannelOpaque(boolean alphaChannelOpaque) {
   set(CVImageBufferAttribute.AlphaChannelIsOpaque, CFBoolean.valueOf(alphaChannelOpaque));
   return this;
 }
 /** @since Available in iOS 8.0 and later. */
 public CGImageDestinationCopySourceOptions setShouldExcludeGPS(boolean shouldExcludeGPS) {
   set(Keys.MetadataShouldExcludeGPS(), CFBoolean.valueOf(shouldExcludeGPS));
   return this;
 }
 /** @since Available in iOS 7.0 and later. */
 public CGImageDestinationCopySourceOptions setMergesMetadata(boolean mergesMetadata) {
   set(Keys.DestinationMergeMetadata(), CFBoolean.valueOf(mergesMetadata));
   return this;
 }