I need to implement Drive Picker in my project which I have implemented correctly.
I need to show in the picker only those images/Docs which have the LinkSharing as 'ON'.By doing so, I can download the Images in my Project.
Here is my code for Picker:
_showPicker: function () {
var accessToken = gapi.auth.getToken().access_token;
this.picker = new google.picker.PickerBuilder().
addView(google.picker.ViewId.DOCS).
enableFeature(google.picker.Feature.MULTISELECT_ENABLED).
setAppId(this.clientId).
setOAuthToken(accessToken).
setCallback(this._pickerCallback.bind(this)).
build().
setVisible(true);
}
This shows all the Docs/Images in the Picker. I need to show only those which have LinkSharing as 'ON'.
Any help is appreciated.
Thanks.