public void removeScreenshot(OuyaModScreenshot screenshot) { #if VERBOSE_LOGGING Debug.Log(string.Format("Invoking {0}...", MethodBase.GetCurrentMethod().Name)); #endif JNIFind(); if (_instance == IntPtr.Zero) { Debug.LogError("_instance is not initialized"); return; } if (_jmRemoveScreenshot == IntPtr.Zero) { Debug.LogError("_jmRemoveScreenshot is not initialized"); return; } if (null == screenshot) { Debug.LogError("bitmap is not initialized"); return; } if (screenshot.GetInstance() == IntPtr.Zero) { Debug.LogError("screenshot.Instance is not initialized"); return; } IntPtr arg1 = screenshot.GetInstance(); AndroidJNI.CallVoidMethod(_instance, _jmRemoveScreenshot, new jvalue[] { new jvalue() { l = arg1 } }); }
public void removeScreenshot(OuyaModScreenshot screenshot) { #if VERBOSE_LOGGING Debug.Log(string.Format("Invoking {0}...", MethodBase.GetCurrentMethod().Name)); #endif JNIFind(); if (_instance == IntPtr.Zero) { Debug.LogError("_instance is not initialized"); return; } if (_jmRemoveScreenshot == IntPtr.Zero) { Debug.LogError("_jmRemoveScreenshot is not initialized"); return; } if (null == screenshot) { Debug.LogError("bitmap is not initialized"); return; } if (screenshot.GetInstance() == IntPtr.Zero) { Debug.LogError("screenshot.Instance is not initialized"); return; } IntPtr arg1 = screenshot.GetInstance(); AndroidJNI.CallVoidMethod(_instance, _jmRemoveScreenshot, new jvalue[] { new jvalue() { l = arg1 } }); }