示例#1
0
 /// <summary>
 /// Builds an Android App Bundle using the specified build options.
 ///
 /// Before calling this method use PlayInstantBuildSettings.SetInstantBuildType() to decide whether to build an
 /// instant app bundle or a regular app bundle for installed apps.
 ///
 /// This method returns an async Task because it partially runs on a background thread (except in Batch Mode).
 /// As with other methods that return async tasks, the result can be awaited on or accessed via ContinueWith().
 /// </summary>
 /// <param name="androidBuildOptions">Configuration options for the build.</param>
 /// <returns>An async task that provides an AndroidBuildReport.</returns>
 /// <exception cref="AndroidBuildException">
 /// Thrown in case of certain build failures. Includes an AndroidBuildReport when thrown.
 /// </exception>
 public static async Task <AndroidBuildReport> BuildBundle(AndroidBuildOptions androidBuildOptions)
 {
     return(await AppBundlePublisher.BuildTask(androidBuildOptions));
 }