Android SDK Version
  • java.lang.Object
    • com.facebook.gamingservices.cloudgaming.PlayableAdsLibrary

public class PlayableAdsLibrary
extends java.lang.Object
Constructor Summary
Constructor and Description
PlayableAdsLibrary() 
Method Summary
Modifier and TypeMethod and Description
static voidmarkGameLoaded(Context context, JSONObject parameters, DaemonRequest.Callback callback)
Signal that the current playable ad has finished in-game loading.
static voidopenAppStore(Context context, JSONObject parameters, DaemonRequest.Callback callback)
Opens the app store for the current playable ad.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

PlayableAdsLibrary

public PlayableAdsLibrary()
Method Detail

openAppStore

public static void openAppStore(Context context,
                                JSONObject parameters,
                                DaemonRequest.Callback callback)
Opens the app store for the current playable ad.
Parameters:
context - the application context
parameters - {}
callback - callback for success and error

markGameLoaded

public static void markGameLoaded(Context context,
                                  JSONObject parameters,
                                  DaemonRequest.Callback callback)
Signal that the current playable ad has finished in-game loading.
Parameters:
context - the application context
parameters - {}
callback - callback for success and error