Namespace facebookInstantGames
Functions
Const areAdsSupported
- areAdsSupported(): boolean
Const getPlayerEntry
- getPlayerEntry(leaderboardName: any, rankVariable: any, scoreVariable: any, extraDataVariable: any, errorVariable: any): void
Parameters
leaderboardName: any
rankVariable: any
scoreVariable: any
extraDataVariable: any
errorVariable: any
Returns void
Const isInterstitialAdReady
- isInterstitialAdReady(): boolean
Const isRewardedVideoReady
- isRewardedVideoReady(): boolean
Const loadInterstitialAd
- loadInterstitialAd(adPlacementId: any, errorVariable: any): void
Parameters
adPlacementId: any
errorVariable: any
Returns void
Const loadPlayerData
- loadPlayerData(key: any, successVariable: any, errorVariable: any): void
Parameters
key: any
successVariable: any
errorVariable: any
Returns void
Const loadRewardedVideo
- loadRewardedVideo(adPlacementId: any, errorVariable: any): void
Parameters
adPlacementId: any
errorVariable: any
Returns void
Const setPlayerData
- setPlayerData(key: any, variable: any, successVariable: any, errorVariable: any): void
Parameters
key: any
variable: any
successVariable: any
errorVariable: any
Returns void
Const setPlayerScore
- setPlayerScore(leaderboardName: any, score: any, extraDataVariable: any, successVariable: any, errorVariable: any): void
Parameters
leaderboardName: any
score: any
extraDataVariable: any
successVariable: any
errorVariable: any
Returns void
Const showInterstitialAd
- showInterstitialAd(errorVariable: any): void
Const showRewardedVideo
- showRewardedVideo(errorVariable: any): void