core
Module Contents
package
ai.meson.ads
Module Contents
class
AdSize
Module Contents
AdSize
(
width
:
Int
,
height
:
Int
)
var
height
:
Int
var
width
:
Int
class
MesonAdRequestStatus
Module Contents
MesonAdRequestStatus
(
mStatusCode
:
StatusCode
)
enum
class
StatusCode
Module Contents
AD_ACTIVE
CONFIGURATION_ERROR
INTERNAL_ERROR
MISSING_REQUIRED_DEPENDENCIES
MONETIZATION_DISABLED
NETWORK_UNREACHABLE
NO_ERROR
NO_FILL
REPETITIVE_LOAD
REQUEST_INVALID
REQUEST_PENDING
REQUEST_TIMED_OUT
SDK_NOT_INITIALIZED
SERVER_ERROR
val
message
:
String
fun
getMessage
(
)
:
String
package
ai.meson.sdk
Module Contents
class
MesonSdkConfiguration
Module Contents
class
Builder
Module Contents
Builder
(
mContext
:
Context
,
mAccountId
:
String
)
fun
build
(
)
:
MesonSdkConfiguration
fun
setConsent
(
consent
:
JSONObject
?
)
:
Builder
val
accountId
:
String
var
consentObject
:
JSONObject
?
val
context
:
Context
interface
MesonSdkInitializationListener
Module Contents
const
val
INVALID_ACCOUNT_ID
:
String
const
val
UNKNOWN_ERROR
:
String
abstract
fun
onComplete
(
error
:
Error
?
)
:
Unit
alltypes
Module Contents
class
AdSize
Module Contents
AdSize
(
width
:
Int
,
height
:
Int
)
var
height
:
Int
var
width
:
Int
class
MesonAdRequestStatus
Module Contents
MesonAdRequestStatus
(
mStatusCode
:
StatusCode
)
enum
class
StatusCode
Module Contents
AD_ACTIVE
CONFIGURATION_ERROR
INTERNAL_ERROR
MISSING_REQUIRED_DEPENDENCIES
MONETIZATION_DISABLED
NETWORK_UNREACHABLE
NO_ERROR
NO_FILL
REPETITIVE_LOAD
REQUEST_INVALID
REQUEST_PENDING
REQUEST_TIMED_OUT
SDK_NOT_INITIALIZED
SERVER_ERROR
val
message
:
String
fun
getMessage
(
)
:
String
class
MesonSdkConfiguration
Module Contents
class
Builder
Module Contents
Builder
(
mContext
:
Context
,
mAccountId
:
String
)
fun
build
(
)
:
MesonSdkConfiguration
fun
setConsent
(
consent
:
JSONObject
?
)
:
Builder
val
accountId
:
String
var
consentObject
:
JSONObject
?
val
context
:
Context
interface
MesonSdkInitializationListener
Module Contents
const
val
INVALID_ACCOUNT_ID
:
String
const
val
UNKNOWN_ERROR
:
String
abstract
fun
onComplete
(
error
:
Error
?
)
:
Unit