-
public class PostHogAndroid.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static PostHogAndroid.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final <T extends PostHogAndroidConfig> Unitsetup(Context context, T config)Setup the SDK and set a global and singleton instance final <T extends PostHogAndroidConfig> PostHogInterfacewith(Context context, T config)Setup the SDK and returns an instance that you can hold and pass it around -
-
Method Detail
-
setup
final <T extends PostHogAndroidConfig> Unit setup(Context context, T config)
Setup the SDK and set a global and singleton instance
-
with
final <T extends PostHogAndroidConfig> PostHogInterface with(Context context, T config)
Setup the SDK and returns an instance that you can hold and pass it around
-
-
-
-