-
-
Save kjartanvest/dc5d65c2496138d88b036e31518cc798 to your computer and use it in GitHub Desktop.
Create video object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JsonObject uploadParams; // JsonObject for the video's upload parameters | |
Context context; // Should be set to the current context | |
client.createVideo(new SynqResponseHandler() | |
{ | |
@Override | |
public void onSuccess(JsonObject jsonResponse) { | |
// Keep the returned JsonObject | |
uploadParams = jsonResponse; | |
} | |
@Override | |
public void onFailure(Exception e) { | |
// Video create error | |
} | |
}, context); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment