static IntPtr n_GetSupportedFormats_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_deviceName) { global::Org.Webrtc.Camera2Enumerator __this = global::Java.Lang.Object.GetObject <global::Org.Webrtc.Camera2Enumerator> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string deviceName = JNIEnv.GetString(native_deviceName, JniHandleOwnership.DoNotTransfer); IntPtr __ret = global::Android.Runtime.JavaList <global::Org.Webrtc.CameraEnumerationAndroid.CaptureFormat> .ToLocalJniHandle(__this.GetSupportedFormats(deviceName)); return(__ret); }
static bool n_IsFrontFacing_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_deviceName) { global::Org.Webrtc.Camera2Enumerator __this = global::Java.Lang.Object.GetObject <global::Org.Webrtc.Camera2Enumerator> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string deviceName = JNIEnv.GetString(native_deviceName, JniHandleOwnership.DoNotTransfer); bool __ret = __this.IsFrontFacing(deviceName); return(__ret); }
static IntPtr n_CreateCapturer_Ljava_lang_String_Lorg_webrtc_CameraVideoCapturer_CameraEventsHandler_(IntPtr jnienv, IntPtr native__this, IntPtr native_deviceName, IntPtr native_eventsHandler) { global::Org.Webrtc.Camera2Enumerator __this = global::Java.Lang.Object.GetObject <global::Org.Webrtc.Camera2Enumerator> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string deviceName = JNIEnv.GetString(native_deviceName, JniHandleOwnership.DoNotTransfer); global::Org.Webrtc.ICameraVideoCapturerCameraEventsHandler eventsHandler = (global::Org.Webrtc.ICameraVideoCapturerCameraEventsHandler)global::Java.Lang.Object.GetObject <global::Org.Webrtc.ICameraVideoCapturerCameraEventsHandler> (native_eventsHandler, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.CreateCapturer(deviceName, eventsHandler)); return(__ret); }
static IntPtr n_GetDeviceNames(IntPtr jnienv, IntPtr native__this) { global::Org.Webrtc.Camera2Enumerator __this = global::Java.Lang.Object.GetObject <global::Org.Webrtc.Camera2Enumerator> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewArray(__this.GetDeviceNames())); }