Exemplo n.º 1
0
 /** @since Available in iOS 4.0 and later. */
 @WeaklyLinked
 public CMVideoCodecType getCodec() {
   if (has(Keys.Codec())) {
     NSNumber val = (NSNumber) get(Keys.Codec());
     return CMVideoCodecType.valueOf(val.longValue());
   }
   return null;
 }
Exemplo n.º 2
0
 /** @since Available in iOS 4.0 and later. */
 @WeaklyLinked
 public AVVideoSettings setCodec(CMVideoCodecType codec) {
   set(Keys.Codec(), NSNumber.valueOf(codec.value()));
   return this;
 }