Package com.inmobi.ads.core
Class Click
-
- All Implemented Interfaces:
public final class Click
-
-
Field Summary
Fields Modifier and Type Field Description private final Integeridprivate final Stringurlprivate final Map<String, String>extrasprivate final BooleanshouldFollowRedirectprivate final BooleanshouldPingInWebViewprivate IntegerpendingAttemptsprivate Longtimestampprivate final LongcreatedTime
-
Method Summary
Modifier and Type Method Description final IntegergetId()final StringgetUrl()final Map<String, String>getExtras()final BooleangetShouldFollowRedirect()final BooleangetShouldPingInWebView()final IntegergetPendingAttempts()final UnitsetPendingAttempts(Integer pendingAttempts)final LonggetTimestamp()final UnitsetTimestamp(Long timestamp)final LonggetCreatedTime()final BooleanhasExpired(Long ttl)Method to know whether the click has expired -
-
Method Detail
-
getShouldFollowRedirect
final Boolean getShouldFollowRedirect()
-
getShouldPingInWebView
final Boolean getShouldPingInWebView()
-
getPendingAttempts
final Integer getPendingAttempts()
-
setPendingAttempts
final Unit setPendingAttempts(Integer pendingAttempts)
-
getTimestamp
final Long getTimestamp()
-
setTimestamp
final Unit setTimestamp(Long timestamp)
-
getCreatedTime
final Long getCreatedTime()
-
hasExpired
final Boolean hasExpired(Long ttl)
Method to know whether the click has expired
- Parameters:
ttl- Represents the time to live for the click- Returns:
True if the lifetime of click has crossed the ttl, otherwise false
-
-
-
-