public final class Omid
extends java.lang.Object
Note that OM SDK may only be used on the main UI thread. Make sure you are on the main thread when you initialize the SDK, create its objects, and invoke its methods.
Created by Natasha Garner on 20/06/2017.
Modifier and Type | Method and Description |
---|---|
static void |
activate(Context applicationContext)
Enables the integration partner to activate OM SDK prior to calling any other API methods.
|
static java.lang.String |
getVersion()
Access the running OM SDK semantic version.
|
static boolean |
isActive()
Used to determine if the running OM SDK is active before attempting to create any ad
sessions.
|
public static void activate(Context applicationContext)
applicationContext
- of the running application.java.lang.IllegalArgumentException
- if the supplied application context is null.public static java.lang.String getVersion()
public static boolean isActive()