public class AppEvents extends java.lang.Object implements AppEventResponseListener, ApplicationStoppedListener
| Constructor and Description |
|---|
AppEvents(android.content.Context context,
AdvertisingInfo advertisingInfo,
Clock clock,
PubSdkApi api,
UserPrivacyUtil userPrivacyUtil,
DeviceInfo deviceInfo,
java.util.concurrent.Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
void |
onApplicationStopped() |
void |
sendActiveEvent() |
void |
sendInactiveEvent() |
void |
sendLaunchEvent() |
void |
setThrottle(int throttleInSec) |
public AppEvents(@NonNull
android.content.Context context,
@NonNull
AdvertisingInfo advertisingInfo,
@NonNull
Clock clock,
@NonNull
PubSdkApi api,
@NonNull
UserPrivacyUtil userPrivacyUtil,
@NonNull
DeviceInfo deviceInfo,
@NonNull
java.util.concurrent.Executor executor)
public void setThrottle(int throttleInSec)
setThrottle in interface AppEventResponseListenerpublic void sendLaunchEvent()
public void sendActiveEvent()
public void sendInactiveEvent()
public void onApplicationStopped()
onApplicationStopped in interface ApplicationStoppedListener