Package com.inmobi.unifiedId
Class InMobiUnifiedIdService
- java.lang.Object
-
- com.inmobi.unifiedId.InMobiUnifiedIdService
-
public final class InMobiUnifiedIdService extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
fetchUnifiedIds(InMobiUnifiedIdInterface inMobiUnifiedIdInterface)
Retrieves unified id from InMobi supported vendors.protected static void
fetchUnifiedIdsInternal(InMobiUnifiedIdInterface inMobiUnifiedIdInterface)
static java.util.concurrent.atomic.AtomicBoolean
getIsPushCalled()
static void
push(InMobiUserDataModel inMobiUserDataModel)
Update users data to InMobiUnifiedIDService in hashed form.static void
reset()
Clears all Unified ID info.
-
-
-
Method Detail
-
getIsPushCalled
public static java.util.concurrent.atomic.AtomicBoolean getIsPushCalled()
-
push
public static void push(InMobiUserDataModel inMobiUserDataModel)
Update users data to InMobiUnifiedIDService in hashed form. This method is used for identifying the user for user targeted ads. InMobiUnifiedIdService does not persist users info. It holds only the hashed info for a sessions lifetime. Expected to be called on every app session and on user login.- Parameters:
inMobiUserDataModel
- Represents user data
-
fetchUnifiedIds
public static void fetchUnifiedIds(InMobiUnifiedIdInterface inMobiUnifiedIdInterface)
Retrieves unified id from InMobi supported vendors.- Parameters:
inMobiUnifiedIdInterface
- Represents the callback that delivers the unified ids.
-
fetchUnifiedIdsInternal
protected static void fetchUnifiedIdsInternal(InMobiUnifiedIdInterface inMobiUnifiedIdInterface)
-
reset
public static void reset()
Clears all Unified ID info. Cancels all ongoing requests (Push and fetch).Expected to be called on user logout.
-
-