@adobe/genstudio-extensibility-sdk
@adobe/genstudio-extensibility-sdk / SelectContentExtensionService
new SelectContentExtensionService():
SelectContentExtensionService
static
setSelectedAssets(connection
:any
,extensionId
:string
,assets
:Asset
[]):void
Set the selected assets
any
string
the extension id of the content select content add ons
Asset
[]
the selected assets
void
static
sync(connection
:any
):Promise
<{selectedAssets
:Asset
[];selectionLimit
:number
; }>
Sync the selected assets
any
The guest connection to the host
Promise
<{ selectedAssets
: Asset
[]; selectionLimit
: number
; }>
the current selected assets and the total count of left assets