Open DhirajG opened 5 years ago
intialize the Configuration.Builder with this parameter in "getClientIdAndClientSecretBuilder()"
GsonDeserializer gsonDeserializer = new GsonDeserializer();
ModelCallback<Object> videoModelCallback = new ModelCallback<Object>(Object.class) {
@Override
public void success(Object video) { }
@Override
public void failure(VimeoError error) { }
};
gsonDeserializer.deserialize(new Gson(), new Object(), videoModelCallback);
Configuration.Builder configBuilder =
new Configuration.Builder(clientId, clientSecret, SCOPE, null, gsonDeserializer);