Google.Play.Instant.Editor.PlayInstantBuildSettings

Provides methods for accessing and persisting PlayInstant build settings.

Summary

Public static functions

IsInstantBuildType()
bool
Returns true if the currently selected build type is "Instant" or false if "Installed".
SetInstantBuildType(bool instantBuild)
void
Sets the instant build type.

Public static functions

IsInstantBuildType

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's main thread.

SetInstantBuildType

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 menu. This method can only be called on the Editor's main thread.