Stay organized with collections
Save and categorize content based on your preferences.
Google.Android.AppBundle.Editor.AndroidAppBundle
Provides utilities related to Android App Bundle.
Summary
Public attributes
|
BaseModuleName = "base"
|
const string
The base module contains the Unity game engine.
|
Public static functions
|
DisableNativeBuild()
|
void
Disable the EditorUserBuildSettings.buildAppBundle field if it is defined.
|
EnableNativeBuild()
|
void
Enable the EditorUserBuildSettings.buildAppBundle field if it is defined.
|
HasNativeBuildSupport()
|
bool
Returns true if this version of the Unity Editor has native support for building an Android App Bundle, and false otherwise.
|
IsNativeBuildEnabled()
|
bool
Returns EditorUserBuildSettings.buildAppBundle if it is defined and false otherwise.
|
IsValidModuleName(string name)
|
bool
Returns true if the specified name is a valid Android App Bundle module name, false otherwise.
|
Public attributes
BaseModuleName
const string BaseModuleName = "base"
The base module contains the Unity game engine.
Public static functions
DisableNativeBuild
void DisableNativeBuild()
Disable the EditorUserBuildSettings.buildAppBundle field if it is defined.
EnableNativeBuild
void EnableNativeBuild()
Enable the EditorUserBuildSettings.buildAppBundle field if it is defined.
HasNativeBuildSupport
bool HasNativeBuildSupport()
Returns true if this version of the Unity Editor has native support for building an Android App Bundle, and false otherwise.
IsNativeBuildEnabled
bool IsNativeBuildEnabled()
Returns EditorUserBuildSettings.buildAppBundle if it is defined and false otherwise.
IsValidModuleName
bool IsValidModuleName(
string name
)
Returns true if the specified name is a valid Android App Bundle module name, false otherwise.
The name "base" is reserved for the base module, so also return false in that case.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-03-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-03-18 UTC."],[],[],null,["# Google.Android.AppBundle.Editor.AndroidAppBundle Class Reference\n\nGoogle.Android.AppBundle.Editor.AndroidAppBundle\n================================================\n\nProvides utilities related to [Android App Bundle](https://developer.android.com/platform/technology/app-bundle/).\n\nSummary\n-------\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------|\n| [BaseModuleName](#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AndroidAppBundle_1a64467e6d8f7fc27f80b8f1024c67c83c)` = \"base\"` | `const string` The base module contains the Unity game engine. |\n\n| ### Public static functions ||\n|-------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [DisableNativeBuild](#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AndroidAppBundle_1a5ad2225646e6038151733cbfbc1461a6)`()` | `void` Disable the EditorUserBuildSettings.buildAppBundle field if it is defined. |\n| [EnableNativeBuild](#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AndroidAppBundle_1a404f610ed43a1fd6ba1e81aa54d946d5)`()` | `void` Enable the EditorUserBuildSettings.buildAppBundle field if it is defined. |\n| [HasNativeBuildSupport](#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AndroidAppBundle_1a7d94eb8e004af7bb3ebaaf4cac45de31)`()` | `bool` Returns true if this version of the Unity [Editor](/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor) has native support for building an [Android](/reference/unity/namespace/Google/Android#namespaceGoogle_1_1Android) App Bundle, and false otherwise. |\n| [IsNativeBuildEnabled](#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AndroidAppBundle_1adc599054b8d5b592d5e4be0c800ec345)`()` | `bool` Returns EditorUserBuildSettings.buildAppBundle if it is defined and false otherwise. |\n| [IsValidModuleName](#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AndroidAppBundle_1aa3846120bffc9a9de900bf9a8ba892cb)`(string name)` | `bool` Returns true if the specified name is a valid [Android](/reference/unity/namespace/Google/Android#namespaceGoogle_1_1Android) App Bundle module name, false otherwise. |\n\nPublic attributes\n-----------------\n\n### BaseModuleName\n\n```c#\nconst string BaseModuleName = \"base\"\n``` \nThe base module contains the Unity game engine.\n\nPublic static functions\n-----------------------\n\n### DisableNativeBuild\n\n```c#\nvoid DisableNativeBuild()\n``` \nDisable the EditorUserBuildSettings.buildAppBundle field if it is defined. \n\n### EnableNativeBuild\n\n```c#\nvoid EnableNativeBuild()\n``` \nEnable the EditorUserBuildSettings.buildAppBundle field if it is defined. \n\n### HasNativeBuildSupport\n\n```c#\nbool HasNativeBuildSupport()\n``` \nReturns true if this version of the Unity [Editor](/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor) has native support for building an [Android](/reference/unity/namespace/Google/Android#namespaceGoogle_1_1Android) App Bundle, and false otherwise. \n\n### IsNativeBuildEnabled\n\n```c#\nbool IsNativeBuildEnabled()\n``` \nReturns EditorUserBuildSettings.buildAppBundle if it is defined and false otherwise. \n\n### IsValidModuleName\n\n```c#\nbool IsValidModuleName(\n string name\n)\n``` \nReturns true if the specified name is a valid [Android](/reference/unity/namespace/Google/Android#namespaceGoogle_1_1Android) App Bundle module name, false otherwise.\n\nThe name \"base\" is reserved for the base module, so also return false in that case."]]