public final class MyTargetManager
extends java.lang.Object
| Constructor and Description |
|---|
MyTargetManager() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getBidderToken(android.content.Context context)
Obtaining a token for the server auction.
|
static MyTargetConfig |
getSdkConfig() |
static void |
initSdk(android.content.Context context)
Initializes sdk to make first ad request faster.
|
static void |
setDebugMode(boolean debugMode)
Enable / disable debug mode (default false).
|
static void |
setSdkConfig(MyTargetConfig config)
Configuration with global settings can be set to SDK.
|
public static void setDebugMode(boolean debugMode)
debugMode - enable or disable debugpublic static void setSdkConfig(@NonNull
MyTargetConfig config)
MyTargetConfig.Builderconfig - SDK configuration instanceMyTargetConfig@NonNull public static MyTargetConfig getSdkConfig()
MyTargetConfig@WorkerThread
@NonNull
public static java.lang.String getBidderToken(@NonNull
android.content.Context context)
When working with a server-side auction, you must start loading an advertisement with the bid_payload received from the server, for this you need to use the loadFromBid method of the advertisement instance.
context - app context@AnyThread
public static void initSdk(@NonNull
android.content.Context context)
context - app context