private UploadContext(
ShareVideoContent videoContent,
String graphNode,
FacebookCallback<Sharer.Result> callback) {
this.accessToken = AccessToken.getCurrentAccessToken();
this.videoUri = videoContent.getVideo().getLocalUrl();
this.title = videoContent.getContentTitle();
this.description = videoContent.getContentDescription();
this.ref = videoContent.getRef();
this.graphNode = graphNode;
this.callback = callback;
this.params = videoContent.getVideo().getParameters();
if (!Utility.isNullOrEmpty(videoContent.getPeopleIds())) {
this.params.putString("tags", TextUtils.join(", ", videoContent.getPeopleIds()));
}
if (!Utility.isNullOrEmpty(videoContent.getPlaceId())) {
this.params.putString("place", videoContent.getPlaceId());
}
if (!Utility.isNullOrEmpty(videoContent.getRef())) {
this.params.putString("ref", videoContent.getRef());
}
}