openContentPicker()
コンテンツ・ピッカー・ダイアログを開きます。
使用状況:
sdk.openContentPicker().then(function(data) {
// use data returned from content picker
// sample data {id: 'assetId', type: 'assetType', name: 'assetName'}
console.log(data)
}).catch(function(error){
// handle error
console.log("Error:", error);
});
戻り値:
約束オブジェクト。