コード例 #1
0
 public override global::System.Boolean PerformPanelShortcut(int featureId, [global::Android.Runtime.GeneratedEnum] global::Android.Views.Keycode keyCode, global::Android.Views.KeyEvent e, [global::Android.Runtime.GeneratedEnum] global::Android.Views.MenuPerformFlags flags)
 {
     if (id_performPanelShortcut_IILandroid_view_KeyEvent_I == IntPtr.Zero)
     {
         id_performPanelShortcut_IILandroid_view_KeyEvent_I = JNIEnv.GetMethodID(class_ref, "performPanelShortcut", "(IILandroid/view/KeyEvent;I)Z");
     }
     global::System.Boolean __ret = JNIEnv.CallBooleanMethod(Handle, id_performPanelShortcut_IILandroid_view_KeyEvent_I, new JValue(featureId), new JValue((int)keyCode), new JValue(e), new JValue((int)flags));
     return(__ret);
 }
コード例 #2
0
 public override global::System.Boolean PerformPanelIdentifierAction(int featureId, int id, [global::Android.Runtime.GeneratedEnum] global::Android.Views.MenuPerformFlags flags)
 {
     if (id_performPanelIdentifierAction_III == IntPtr.Zero)
     {
         id_performPanelIdentifierAction_III = JNIEnv.GetMethodID(class_ref, "performPanelIdentifierAction", "(III)Z");
     }
     return(JNIEnv.CallBooleanMethod(Handle, id_performPanelIdentifierAction_III, new JValue(featureId), new JValue(id), new JValue((int)flags)));
 }