# Google.Play.Instant.Editor.PlayInstantBuildSettings

Provides methods for accessing and persisting [Play](https://developer.android.com/reference/unity/namespace/Google/Play#namespaceGoogle_1_1Play)[Instant](https://developer.android.com/reference/unity/namespace/Google/Play/Instant#namespaceGoogle_1_1Play_1_1Instant) build settings.

## Summary

| ### Public static functions ||
|---|---|
| `https://developer.android.com/reference/unity/class/Google/Play/Instant/Editor/PlayInstantBuildSettings#classGoogle_1_1Play_1_1Instant_1_1Editor_1_1PlayInstantBuildSettings_1a5f90da1ccf544af5f73aba882000f0e5()` | `bool` Returns true if the currently selected build type is "Instant" or false if "Installed". |
| `https://developer.android.com/reference/unity/class/Google/Play/Instant/Editor/PlayInstantBuildSettings#classGoogle_1_1Play_1_1Instant_1_1Editor_1_1PlayInstantBuildSettings_1a398f417317fe5a94dfd5e1f44fffa888(bool instantBuild)` | `void` Sets the instant build type. |

## Public static functions

### IsInstantBuildType

```c#
bool IsInstantBuildType()
```
Returns true if the currently selected build type is "Instant" or false if "Installed".

This method can only be called on the [Editor](https://developer.android.com/reference/unity/namespace/Google/Play/Instant/Editor#namespaceGoogle_1_1Play_1_1Instant_1_1Editor)'s main thread.

### SetInstantBuildType

```c#
void SetInstantBuildType(
  bool instantBuild
)
```
Sets the instant build type.

If true, changes the build type to instant and creates a "PLAY_INSTANT" scripting define symbol. If false, removes the "PLAY_INSTANT" scripting define symbol. This setting only affects builds started through Bundletool or the "Google" [Editor](https://developer.android.com/reference/unity/namespace/Google/Play/Instant/Editor#namespaceGoogle_1_1Play_1_1Instant_1_1Editor) menu. This method can only be called on the [Editor](https://developer.android.com/reference/unity/namespace/Google/Play/Instant/Editor#namespaceGoogle_1_1Play_1_1Instant_1_1Editor)'s main thread.