コード例 #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;
 }
コード例 #2
0
 /** @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;
 }
コード例 #3
0
 /** @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;
 }
コード例 #5
0
 /** @since Available in iOS 8.0 and later. */
 public CGImageDestinationCopySourceOptions setShouldExcludeGPS(boolean shouldExcludeGPS) {
   set(Keys.MetadataShouldExcludeGPS(), CFBoolean.valueOf(shouldExcludeGPS));
   return this;
 }
コード例 #6
0
 /** @since Available in iOS 7.0 and later. */
 public CGImageDestinationCopySourceOptions setMergesMetadata(boolean mergesMetadata) {
   set(Keys.DestinationMergeMetadata(), CFBoolean.valueOf(mergesMetadata));
   return this;
 }