public class GamingVideoUploader
extends java.lang.Object
| Constructor and Description |
|---|
GamingVideoUploader(android.content.Context context)
Utility class to upload Videos to a Player's Gaming Media Library.
|
| Modifier and Type | Method and Description |
|---|---|
void |
uploadToMediaLibrary(java.lang.String caption,
android.net.Uri videoUri)
Uploads a video to a player's Gaming Media Library.
|
void |
uploadToMediaLibrary(java.lang.String caption,
android.net.Uri videoUri,
com.facebook.GraphRequest.OnProgressCallback callback)
Uploads a video to a player's Gaming Media Library.
|
public GamingVideoUploader(android.content.Context context)
context - Android Context for the activity launching initiating an upload.public void uploadToMediaLibrary(java.lang.String caption,
android.net.Uri videoUri)
throws java.io.FileNotFoundException
caption - the user generated caption for the video, can be nullvideoUri - the file:// or content:// Uri to the video on devicejava.io.FileNotFoundExceptionpublic void uploadToMediaLibrary(java.lang.String caption,
android.net.Uri videoUri,
com.facebook.GraphRequest.OnProgressCallback callback)
throws java.io.FileNotFoundException
caption - the user generated caption for the video, can be nullvideoUri - the file:// or content:// Uri to the video on devicecallback - an optional OnProgressCallback to track the upload process.java.io.FileNotFoundException