.. index:: pair: class; EE::Window::PlatformHelper .. _doxid-class_e_e_1_1_window_1_1_platform_helper: class EE::Window::PlatformHelper ================================ .. toctree:: :hidden: Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class PlatformHelper { public: // construction virtual :target:`~PlatformHelper`(); // methods virtual bool :ref:`openURL`(const std::string& url) = 0; virtual void* :ref:`getActivity`() = 0; virtual void* :ref:`getJNIEnv`() = 0; virtual std::string :ref:`getExternalStoragePath`() = 0; virtual std::string :ref:`getInternalStoragePath`() = 0; virtual std::string :ref:`getApkPath`() = 0; virtual bool :ref:`isExternalStorageReadable`() = 0; virtual bool :ref:`isExternalStorageWritable`() = 0; }; .. _details-class_e_e_1_1_window_1_1_platform_helper: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Methods ------- .. index:: pair: function; openURL .. _doxid-class_e_e_1_1_window_1_1_platform_helper_1a924c3972864ae1205774a36c24d2faeb: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual bool openURL(const std::string& url) = 0 Open a URL in a separate, system-provided application. .. rubric:: Returns: true if success .. index:: pair: function; getActivity .. _doxid-class_e_e_1_1_window_1_1_platform_helper_1a9b6fae91a050bb83c415dd84612b2753: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual void* getActivity() = 0 .. rubric:: Returns: The Activity object for the application .. index:: pair: function; getJNIEnv .. _doxid-class_e_e_1_1_window_1_1_platform_helper_1a1ad3a817fcab5915eeb6f7673f7ca53c: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual void* getJNIEnv() = 0 .. rubric:: Returns: The JNI environment for the current thread .. index:: pair: function; getExternalStoragePath .. _doxid-class_e_e_1_1_window_1_1_platform_helper_1a2782965a4bcaf7148b6ae590d8e690bc: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual std::string getExternalStoragePath() = 0 .. rubric:: Returns: The path used for external storage for this application. This path is unique to your application, but is public and can be written to by other applications. .. index:: pair: function; getInternalStoragePath .. _doxid-class_e_e_1_1_window_1_1_platform_helper_1ad004b5435a2cac766c9533af3e9dd73f: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual std::string getInternalStoragePath() = 0 .. rubric:: Returns: The path used for internal storage for this application. This path is unique to your application and cannot be written to by other applications. .. index:: pair: function; getApkPath .. _doxid-class_e_e_1_1_window_1_1_platform_helper_1a9e6f065f47e5a8ec665d80bc2f5feca6: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual std::string getApkPath() = 0 .. rubric:: Returns: The application APK file path .. index:: pair: function; isExternalStorageReadable .. _doxid-class_e_e_1_1_window_1_1_platform_helper_1a217b57f266e74a6dadf7f09e0d8808ad: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual bool isExternalStorageReadable() = 0 .. rubric:: Returns: True if the external storage is readable. .. index:: pair: function; isExternalStorageWritable .. _doxid-class_e_e_1_1_window_1_1_platform_helper_1a3a4e6f22d75c892053b466d1c096447b: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual bool isExternalStorageWritable() = 0 .. rubric:: Returns: True if the external storage is writeable.