/** @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; }
/** @since Available in iOS 4.0 and later. */ @WeaklyLinked public AVVideoSettings setCodec(CMVideoCodecType codec) { set(Keys.Codec(), NSNumber.valueOf(codec.value())); return this; }