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) |
| Modifier and Type | Method and Description |
|---|---|
void |
onApplicationStopped() |
void |
sendActiveEvent() |
void |
sendInactiveEvent() |
void |
sendLaunchEvent() |
void |
setThrottle(int throttle) |
public AppEvents(@NonNull
android.content.Context context,
@NonNull
AdvertisingInfo advertisingInfo,
@NonNull
Clock clock,
@NonNull
PubSdkApi api,
@NonNull
UserPrivacyUtil userPrivacyUtil,
@NonNull
DeviceInfo deviceInfo)
public void setThrottle(int throttle)
setThrottle in interface AppEventResponseListenerpublic void sendLaunchEvent()
public void sendActiveEvent()
public void sendInactiveEvent()
public void onApplicationStopped()
onApplicationStopped in interface ApplicationStoppedListener