Package com.inmobi.unifiedId
Object InMobiUnifiedIdService
-
- All Implemented Interfaces:
public class InMobiUnifiedIdService
-
-
Field Summary
Fields Modifier and Type Field Description private final AtomicBooleanisPushCalledpublic final static InMobiUnifiedIdServiceINSTANCE
-
Method Summary
Modifier and Type Method Description final static Unitpush(InMobiUserDataModel inMobiUserDataModel)Update users data to InMobiUnifiedIDService in hashed form. final static UnitfetchUnifiedIds(InMobiUnifiedIdInterface inMobiUnifiedIdInterface)Retrieves unified id from InMobi supported vendors. final static Unitreset()Clears all Unified ID info. final AtomicBooleanisPushCalled()-
-
Method Detail
-
push
final static Unit 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
final static Unit fetchUnifiedIds(InMobiUnifiedIdInterface inMobiUnifiedIdInterface)
Retrieves unified id from InMobi supported vendors.
- Parameters:
inMobiUnifiedIdInterface- Represents the callback that delivers the unified ids.
-
reset
final static Unit reset()
Clears all Unified ID info. Cancels all ongoing requests (Push and fetch).
Expected to be called on user logout.
-
isPushCalled
final AtomicBoolean isPushCalled()
-
-
-
-