Skip to content

Commit

Permalink
chore: generate api
Browse files Browse the repository at this point in the history
  • Loading branch information
thisames committed Dec 24, 2024
1 parent e75d565 commit b765efb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import android.app.Application.ActivityLifecycleCallbacks
import android.os.Bundle
import com.posthog.PostHog
import com.posthog.PostHogIntegration
import com.posthog.ScreenTracker
import com.posthog.android.PostHogAndroidConfig

/**
Expand Down
17 changes: 17 additions & 0 deletions posthog/api/posthog.api
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public class com/posthog/PostHogConfig {
public fun <init> (Ljava/lang/String;Ljava/lang/String;ZZZZIIIILcom/posthog/PostHogEncryption;Lcom/posthog/PostHogOnFeatureFlags;ZLcom/posthog/PostHogPropertiesSanitizer;Lkotlin/jvm/functions/Function1;Lcom/posthog/PersonProfiles;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;ZZZZIIIILcom/posthog/PostHogEncryption;Lcom/posthog/PostHogOnFeatureFlags;ZLcom/posthog/PostHogPropertiesSanitizer;Lkotlin/jvm/functions/Function1;Lcom/posthog/PersonProfiles;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun addIntegration (Lcom/posthog/PostHogIntegration;)V
public final fun addProcessor (Lcom/posthog/PostHogPropertiesProcessor;)V
public final fun getApiKey ()Ljava/lang/String;
public final fun getCachePreferences ()Lcom/posthog/internal/PostHogPreferences;
public final fun getContext ()Lcom/posthog/internal/PostHogContext;
Expand All @@ -95,6 +96,7 @@ public class com/posthog/PostHogConfig {
public final fun getOptOut ()Z
public final fun getPersonProfiles ()Lcom/posthog/PersonProfiles;
public final fun getPreloadFeatureFlags ()Z
public final fun getProcessors ()Ljava/util/List;
public final fun getPropertiesSanitizer ()Lcom/posthog/PostHogPropertiesSanitizer;
public final fun getReplayStoragePrefix ()Ljava/lang/String;
public final fun getSdkName ()Ljava/lang/String;
Expand Down Expand Up @@ -236,13 +238,28 @@ public abstract interface class com/posthog/PostHogOnFeatureFlags {
public abstract fun loaded ()V
}

public abstract interface class com/posthog/PostHogPropertiesProcessor {
public abstract fun process (Ljava/util/Map;)Ljava/util/Map;
}

public abstract interface class com/posthog/PostHogPropertiesSanitizer {
public abstract fun sanitize (Ljava/util/Map;)Ljava/util/Map;
}

public final class com/posthog/PostHogScreenProcessor : com/posthog/PostHogPropertiesProcessor {
public fun <init> ()V
public fun process (Ljava/util/Map;)Ljava/util/Map;
}

public abstract interface annotation class com/posthog/PostHogVisibleForTesting : java/lang/annotation/Annotation {
}

public final class com/posthog/ScreenTracker {
public static final field INSTANCE Lcom/posthog/ScreenTracker;
public final fun getCurrentScreenName ()Ljava/lang/String;
public final fun setCurrentScreen (Ljava/lang/String;)V
}

public abstract interface class com/posthog/internal/PostHogContext {
public abstract fun getDynamicContext ()Ljava/util/Map;
public abstract fun getSdkInfo ()Ljava/util/Map;
Expand Down

0 comments on commit b765efb

Please sign in to comment.