Beispiel #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);
 }
Beispiel #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));
 }
Beispiel #3
0
 public AVAssetWriterInput(AVMediaType mediaType, AVVideoSettings outputSettings) {
   super((SkipInit) null);
   initObject(init(mediaType, outputSettings.getDictionary()));
 }
Beispiel #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);
 }
Beispiel #5
0
 public static AVAssetWriterInput create(AVMediaType mediaType, AVVideoSettings outputSettings) {
   return create(mediaType, outputSettings.getDictionary());
 }