meson-wrap
Module Contents
package
ai.meson.ads
Module Contents
class
BannerBidFetcher
:
BidFetcher
,
FocusChangedListener
Module Contents
BannerBidFetcher
(
adUnitId
:
String
,
adSize
:
AdSize
)
fun
destroy
(
)
:
Unit
fun
fetchBid
(
bidFetchListener
:
MesonBidFetchListener
)
:
Unit
fun
onFocusChanged
(
isAppInForeground
:
Boolean
)
:
Unit
open
class
BidFetcher
Module Contents
BidFetcher
(
adUnitId
:
String
)
protected
val
adUnitId
:
String
protected
fun
cancelBidFetch
(
)
:
Unit
open
fun
destroy
(
)
:
Unit
open
fun
fetchBid
(
bidFetchListener
:
MesonBidFetchListener
)
:
Unit
var
mAdExtras
:
<ERROR CLASS>
<
String
,
String
>
open
var
mAdSize
:
AdSize
?
class
InterstitialBidFetcher
:
BidFetcher
Module Contents
InterstitialBidFetcher
(
adUnitId
:
String
)
class
RewardedBidFetcher
:
BidFetcher
Module Contents
RewardedBidFetcher
(
adUnitId
:
String
)
interface
TPBidFetch
<
T
>
Module Contents
abstract
fun
fetchBid
(
pubObj
:
T
,
bidFetchListener
:
MesonAdFetchListener
<
T
>
)
:
Unit
package
ai.meson.sdk
Module Contents
typealias
AgeGroup
=
AgeGroup
class
BidResponse
Module Contents
BidResponse
(
bidInfo
:
JSONObject
?
,
errorMessage
:
String
?
)
val
bidInfo
:
JSONObject
?
val
errorMessage
:
String
?
typealias
Education
=
Education
typealias
Gender
=
Gender
typealias
LogLevel
=
LogLevel
interface
MesonAdFetchListener
<
T
>
Module Contents
abstract
fun
onComplete
(
obj
:
T
,
error
:
Error
?
)
:
Unit
interface
MesonBidFetchListener
Module Contents
abstract
fun
onBidFetchCompleted
(
error
:
Error
?
,
bidInfo
:
JSONObject
?
)
:
Unit
class
MesonWrap
Module Contents
companion
object
Companion
:
BaseMesonInit
Module Contents
fun
getSDKVersion
(
)
:
String
fun
init
(
configuration
:
MesonSdkConfiguration
,
listener
:
MesonSdkInitializationListener
?
)
:
Unit
fun
setPPMVersion
(
version
:
String
?
)
:
Unit
fun
getSDKVersion
(
)
:
String
fun
init
(
configuration
:
MesonSdkConfiguration
,
listener
:
MesonSdkInitializationListener
?
)
:
Unit
fun
setPPMVersion
(
version
:
String
?
)
:
Unit
alltypes
Module Contents
typealias
AgeGroup
=
AgeGroup
class
BannerBidFetcher
:
BidFetcher
,
FocusChangedListener
Module Contents
BannerBidFetcher
(
adUnitId
:
String
,
adSize
:
AdSize
)
fun
destroy
(
)
:
Unit
fun
fetchBid
(
bidFetchListener
:
MesonBidFetchListener
)
:
Unit
fun
onFocusChanged
(
isAppInForeground
:
Boolean
)
:
Unit
open
class
BidFetcher
Module Contents
BidFetcher
(
adUnitId
:
String
)
protected
val
adUnitId
:
String
protected
fun
cancelBidFetch
(
)
:
Unit
open
fun
destroy
(
)
:
Unit
open
fun
fetchBid
(
bidFetchListener
:
MesonBidFetchListener
)
:
Unit
var
mAdExtras
:
<ERROR CLASS>
<
String
,
String
>
open
var
mAdSize
:
AdSize
?
class
BidResponse
Module Contents
BidResponse
(
bidInfo
:
JSONObject
?
,
errorMessage
:
String
?
)
val
bidInfo
:
JSONObject
?
val
errorMessage
:
String
?
typealias
Education
=
Education
typealias
Gender
=
Gender
class
InterstitialBidFetcher
:
BidFetcher
Module Contents
InterstitialBidFetcher
(
adUnitId
:
String
)
typealias
LogLevel
=
LogLevel
interface
MesonAdFetchListener
<
T
>
Module Contents
abstract
fun
onComplete
(
obj
:
T
,
error
:
Error
?
)
:
Unit
interface
MesonBidFetchListener
Module Contents
abstract
fun
onBidFetchCompleted
(
error
:
Error
?
,
bidInfo
:
JSONObject
?
)
:
Unit
class
MesonWrap
Module Contents
companion
object
Companion
:
BaseMesonInit
Module Contents
fun
getSDKVersion
(
)
:
String
fun
init
(
configuration
:
MesonSdkConfiguration
,
listener
:
MesonSdkInitializationListener
?
)
:
Unit
fun
setPPMVersion
(
version
:
String
?
)
:
Unit
fun
getSDKVersion
(
)
:
String
fun
init
(
configuration
:
MesonSdkConfiguration
,
listener
:
MesonSdkInitializationListener
?
)
:
Unit
fun
setPPMVersion
(
version
:
String
?
)
:
Unit
class
RewardedBidFetcher
:
BidFetcher
Module Contents
RewardedBidFetcher
(
adUnitId
:
String
)
interface
TPBidFetch
<
T
>
Module Contents
abstract
fun
fetchBid
(
pubObj
:
T
,
bidFetchListener
:
MesonAdFetchListener
<
T
>
)
:
Unit