@adobe/genstudio-extensibility-sdk
@adobe/genstudio-extensibility-sdk / SelectContentExtensionService
new SelectContentExtensionService():
SelectContentExtensionService
staticsetSelectedAssets(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
staticsync(connection:any,extensionId:string):Promise<{allowedFileTypes:string[];selectedAssets:Asset[];selectionLimit:number; }>
Sync the selected assets
any
The guest connection to the host
string
Promise<{ allowedFileTypes: string[]; selectedAssets: Asset[]; selectionLimit: number; }>
the current selected assets and the total count of left assets