Exemplo n.º 1
0
    /**
     * Create an instance of AppLovin with a custom activity
     *
     * @param {AndroidJavaObject} The activity that you are using
     */
        #if UNITY_ANDROID
    public AppLovin(AndroidJavaObject activity)
    {
        if (activity == null)
        {
            throw new MissingReferenceException("No parent activity specified");
        }

        currentActivity = activity;
        targetingData   = new AppLovinTargetingData(currentActivity);
    }
Exemplo n.º 2
0
 public AppLovin()
 {
     targetingData = new AppLovinTargetingData();
 }
Exemplo n.º 3
0
    /**
     * Create an instance of AppLovin with a custom activity
     *
     * @param {AndroidJavaObject} The activity that you are using
     */
    public AppLovin(AndroidJavaObject activity)
    {
        if (activity == null) throw new MissingReferenceException("No parent activity specified");

        currentActivity = activity;
        targetingData = new AppLovinTargetingData(currentActivity);
    }
Exemplo n.º 4
0
 public AppLovin()
 {
     targetingData = new AppLovinTargetingData();
 }