# Google.Android.AppBundle.Editor.AndroidAppBundle

Provides utilities related to [Android App Bundle](https://developer.android.com/platform/technology/app-bundle/).

## Summary

| ### Public attributes ||
|---|---|
| `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AndroidAppBundle#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AndroidAppBundle_1a64467e6d8f7fc27f80b8f1024c67c83c = "base"` | `const string` The base module contains the Unity game engine. |

| ### Public static functions ||
|---|---|
| `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AndroidAppBundle#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AndroidAppBundle_1a5ad2225646e6038151733cbfbc1461a6()` | `void` Disable the EditorUserBuildSettings.buildAppBundle field if it is defined. |
| `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AndroidAppBundle#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AndroidAppBundle_1a404f610ed43a1fd6ba1e81aa54d946d5()` | `void` Enable the EditorUserBuildSettings.buildAppBundle field if it is defined. |
| `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AndroidAppBundle#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AndroidAppBundle_1a7d94eb8e004af7bb3ebaaf4cac45de31()` | `bool` Returns true if this version of the Unity [Editor](https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor) has native support for building an [Android](https://developer.android.com/reference/unity/namespace/Google/Android#namespaceGoogle_1_1Android) App Bundle, and false otherwise. |
| `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AndroidAppBundle#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AndroidAppBundle_1adc599054b8d5b592d5e4be0c800ec345()` | `bool` Returns EditorUserBuildSettings.buildAppBundle if it is defined and false otherwise. |
| `https://developer.android.com/reference/unity/class/Google/Android/AppBundle/Editor/AndroidAppBundle#classGoogle_1_1Android_1_1AppBundle_1_1Editor_1_1AndroidAppBundle_1aa3846120bffc9a9de900bf9a8ba892cb(string name)` | `bool` Returns true if the specified name is a valid [Android](https://developer.android.com/reference/unity/namespace/Google/Android#namespaceGoogle_1_1Android) App Bundle module name, false otherwise. |

## Public attributes

### BaseModuleName

```c#
const string BaseModuleName = "base"
```
The base module contains the Unity game engine.

## Public static functions

### DisableNativeBuild

```c#
void DisableNativeBuild()
```
Disable the EditorUserBuildSettings.buildAppBundle field if it is defined.

### EnableNativeBuild

```c#
void EnableNativeBuild()
```
Enable the EditorUserBuildSettings.buildAppBundle field if it is defined.

### HasNativeBuildSupport

```c#
bool HasNativeBuildSupport()
```
Returns true if this version of the Unity [Editor](https://developer.android.com/reference/unity/namespace/Google/Android/AppBundle/Editor#namespaceGoogle_1_1Android_1_1AppBundle_1_1Editor) has native support for building an [Android](https://developer.android.com/reference/unity/namespace/Google/Android#namespaceGoogle_1_1Android) App Bundle, and false otherwise.

### IsNativeBuildEnabled

```c#
bool IsNativeBuildEnabled()
```
Returns EditorUserBuildSettings.buildAppBundle if it is defined and false otherwise.

### IsValidModuleName

```c#
bool IsValidModuleName(
  string name
)
```
Returns true if the specified name is a valid [Android](https://developer.android.com/reference/unity/namespace/Google/Android#namespaceGoogle_1_1Android) App Bundle module name, false otherwise.

The name "base" is reserved for the base module, so also return false in that case.