Esempio 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);
    }
Esempio n. 2
0
 public AppLovin()
 {
     targetingData = new AppLovinTargetingData();
 }
Esempio 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);
    }
Esempio n. 4
0
 public AppLovin()
 {
     targetingData = new AppLovinTargetingData();
 }