Android SDK Version
  • java.lang.Object
    • com.facebook.gamingservices.OpenGamingMediaDialog

public class OpenGamingMediaDialog
extends java.lang.Object
implements GraphRequest.OnProgressCallback
Callback Handler to show the Gaming Media Dialog after media is uploaded to the Gaming Media Library.
Constructor Summary
Constructor and Description
OpenGamingMediaDialog(Context context) 
OpenGamingMediaDialog(Context context, GraphRequest.Callback callback) 
Method Summary
Modifier and TypeMethod and Description
voidonCompleted(GraphResponse response)
The method that will be called when a request completes.
voidonProgress(long current, long max)
The method that will be called when progress is made.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

OpenGamingMediaDialog

public OpenGamingMediaDialog(Context context)

OpenGamingMediaDialog

public OpenGamingMediaDialog(Context context,
                             GraphRequest.Callback callback)
Method Detail

onCompleted

public void onCompleted(GraphResponse response)
Description copied from interface: GraphRequest.Callback
The method that will be called when a request completes.
Specified by:
Parameters:
response - the Response of this request, which may include error information if the request was unsuccessful

onProgress

public void onProgress(long current,
                       long max)
Description copied from interface: GraphRequest.OnProgressCallback
The method that will be called when progress is made.
Specified by:
Parameters:
current - the current value of the progress of the request.
max - the maximum value (target) value that the progress will have.