public virtual unsafe void OnAudioFocusChange([global::Android.Runtime.GeneratedEnum] global::Android.Media.AudioFocus p0) { if (id_onAudioFocusChange_I == IntPtr.Zero) { id_onAudioFocusChange_I = JNIEnv.GetMethodID(class_ref, "onAudioFocusChange", "(I)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue((int)p0); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onAudioFocusChange_I, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onAudioFocusChange", "(I)V"), __args); } } finally { } }
static void n_OnAudioFocusChange_I(IntPtr jnienv, IntPtr native__this, int native_p0) { global::Com.Applozic.Mobicomkit.Uiwidgets.Attachmentview.ApplozicAudioManager __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Uiwidgets.Attachmentview.ApplozicAudioManager> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Media.AudioFocus p0 = (global::Android.Media.AudioFocus)native_p0; __this.OnAudioFocusChange(p0); }