Ejemplo n.º 1
0
 @MarshalsPointer
 public static long toNative(List<AVVideoSettings> l, long flags) {
   if (l == null) {
     return 0L;
   }
   NSArray<NSDictionary<NSString, NSObject>> array = new NSMutableArray<>();
   for (AVVideoSettings i : l) {
     array.add(i.getDictionary());
   }
   return NSObject.Marshaler.toNative(array, flags);
 }
Ejemplo n.º 2
0
 /** @since Available in iOS 6.0 and later. */
 public AVAssetWriterInput(
     AVMediaType mediaType, AVVideoSettings outputSettings, CMFormatDescription sourceFormatHint) {
   super((SkipInit) null);
   initObject(init(mediaType, outputSettings.getDictionary(), sourceFormatHint));
 }
Ejemplo n.º 3
0
 public AVAssetWriterInput(AVMediaType mediaType, AVVideoSettings outputSettings) {
   super((SkipInit) null);
   initObject(init(mediaType, outputSettings.getDictionary()));
 }
Ejemplo n.º 4
0
 /** @since Available in iOS 6.0 and later. */
 public static AVAssetWriterInput create(
     AVMediaType mediaType, AVVideoSettings outputSettings, CMFormatDescription sourceFormatHint) {
   return create(mediaType, outputSettings.getDictionary(), sourceFormatHint);
 }
Ejemplo n.º 5
0
 public static AVAssetWriterInput create(AVMediaType mediaType, AVVideoSettings outputSettings) {
   return create(mediaType, outputSettings.getDictionary());
 }