Mediation 5.4.0 - Unity C# API Reference Mediation 5.4.0 - Unity C# API Reference
Mediation 5.4.0 - Unity C# API Reference Mediation 5.4.0 - Unity C# API Reference
© 2025 Chartboost, Inc. All rights reserved.

Class GradlePostGenerate

Inheritance
object
GradlePostGenerate
Implements
IPostGenerateGradleAndroidProject
IOrderedCallback
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Chartboost.Mediation.Editor.Android
Assembly: Chartboost.Mediation.Editor.dll
Syntax
public class GradlePostGenerate : IPostGenerateGradleAndroidProject, IOrderedCallback

Properties

callbackOrder

Returns the relative callback order for callbacks. Callbacks with lower values are called before ones with higher values.

Declaration
public int callbackOrder { get; }
Property Value
Type Description
int

Methods

OnPostGenerateGradleAndroidProject(string)

Implement this function to receive a callback after the Android Gradle project is generated and before building begins. It is not called when doing an Internal build.

Declaration
public void OnPostGenerateGradleAndroidProject(string path)
Parameters
Type Name Description
string path

The path to the root of the Unity library Gradle project. Note: when exporting the project, this parameter holds the path to the Unity library in the folder specified for export.

Implements

IPostGenerateGradleAndroidProject
UnityEditor.Build.IOrderedCallback