static void n_AdaptOutputFormat_Lorg_webrtc_VideoSource_AspectRatio_Ljava_lang_Integer_Lorg_webrtc_VideoSource_AspectRatio_Ljava_lang_Integer_Ljava_lang_Integer_(IntPtr jnienv, IntPtr native__this, IntPtr native_targetLandscapeAspectRatio, IntPtr native_maxLandscapePixelCount, IntPtr native_targetPortraitAspectRatio, IntPtr native_maxPortraitPixelCount, IntPtr native_maxFps) { global::Org.Webrtc.VideoSource __this = global::Java.Lang.Object.GetObject <global::Org.Webrtc.VideoSource> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Org.Webrtc.VideoSource.AspectRatio targetLandscapeAspectRatio = global::Java.Lang.Object.GetObject <global::Org.Webrtc.VideoSource.AspectRatio> (native_targetLandscapeAspectRatio, JniHandleOwnership.DoNotTransfer); global::Java.Lang.Integer maxLandscapePixelCount = global::Java.Lang.Object.GetObject <global::Java.Lang.Integer> (native_maxLandscapePixelCount, JniHandleOwnership.DoNotTransfer); global::Org.Webrtc.VideoSource.AspectRatio targetPortraitAspectRatio = global::Java.Lang.Object.GetObject <global::Org.Webrtc.VideoSource.AspectRatio> (native_targetPortraitAspectRatio, JniHandleOwnership.DoNotTransfer); global::Java.Lang.Integer maxPortraitPixelCount = global::Java.Lang.Object.GetObject <global::Java.Lang.Integer> (native_maxPortraitPixelCount, JniHandleOwnership.DoNotTransfer); global::Java.Lang.Integer maxFps = global::Java.Lang.Object.GetObject <global::Java.Lang.Integer> (native_maxFps, JniHandleOwnership.DoNotTransfer); __this.AdaptOutputFormat(targetLandscapeAspectRatio, maxLandscapePixelCount, targetPortraitAspectRatio, maxPortraitPixelCount, maxFps); }
public virtual unsafe void AdaptOutputFormat(global::Org.Webrtc.VideoSource.AspectRatio targetLandscapeAspectRatio, global::Java.Lang.Integer maxLandscapePixelCount, global::Org.Webrtc.VideoSource.AspectRatio targetPortraitAspectRatio, global::Java.Lang.Integer maxPortraitPixelCount, global::Java.Lang.Integer maxFps) { const string __id = "adaptOutputFormat.(Lorg/webrtc/VideoSource$AspectRatio;Ljava/lang/Integer;Lorg/webrtc/VideoSource$AspectRatio;Ljava/lang/Integer;Ljava/lang/Integer;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [5]; __args [0] = new JniArgumentValue((targetLandscapeAspectRatio == null) ? IntPtr.Zero : ((global::Java.Lang.Object)targetLandscapeAspectRatio).Handle); __args [1] = new JniArgumentValue((maxLandscapePixelCount == null) ? IntPtr.Zero : ((global::Java.Lang.Object)maxLandscapePixelCount).Handle); __args [2] = new JniArgumentValue((targetPortraitAspectRatio == null) ? IntPtr.Zero : ((global::Java.Lang.Object)targetPortraitAspectRatio).Handle); __args [3] = new JniArgumentValue((maxPortraitPixelCount == null) ? IntPtr.Zero : ((global::Java.Lang.Object)maxPortraitPixelCount).Handle); __args [4] = new JniArgumentValue((maxFps == null) ? IntPtr.Zero : ((global::Java.Lang.Object)maxFps).Handle); _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args); } finally { } }