Package com.inmobi.sdk
Object InMobiSdk.PublisherSignals
-
- All Implemented Interfaces:
public class InMobiSdk.PublisherSignals
Class to manage publisher signals.
-
-
Field Summary
Fields Modifier and Type Field Description public final static InMobiSdk.PublisherSignals
INSTANCE
-
Method Summary
Modifier and Type Method Description final Unit
putPublisherSignals(Map<String, Object> signals)
Puts extra signals to be passed to InMobi SDK. final Map<String, Object>
getPublisherSignals()
Get the extra signals set by the user. final Unit
resetPublisherSignals()
Reset the extra signals set by the user. -
-
Method Detail
-
putPublisherSignals
final Unit putPublisherSignals(Map<String, Object> signals)
Puts extra signals to be passed to InMobi SDK. The final set of signals will be a union of all the extras set by the user. The SDK needs to be initialized before calling this method.
- Parameters:
signals
- Represents the extra signals to be passed to InMobi SDK.
-
getPublisherSignals
final Map<String, Object> getPublisherSignals()
Get the extra signals set by the user. The returned Map only contains signals understood by the InMobi SDK.
- Returns:
The overall extra signals set by the user and understood by InMobi SDK.
null
if the SDK is not initialized.
-
resetPublisherSignals
final Unit resetPublisherSignals()
Reset the extra signals set by the user. The SDK needs to be initialized before calling this method.
-
-
-
-