Class: SelectionManager
Beta
The SelectionManager (accessible from the ExtensionContext) is responsible for the management of all SelectionContainerVolume objects, and provides the user the ability to create new SelectionContainerVolume objects for use within an extension.
Properties
entity
实验性
readonlyentity:SelectionContainerEntity
Beta
volume
实验性
readonlyvolume:SelectionContainerVolume
Beta
Methods
deselectBlocks()
deselectBlocks(
blockIdentifier):Promise<number>
World Mutation Beta
Parameters
blockIdentifier
string
Returns
Promise<number>
Remarks
Privilege
no-restricted-execution -
generateManifest()
generateManifest():
Promise<SelectionManifestData>
World Mutation Beta
Returns
Promise<SelectionManifestData>
Remarks
Privilege
no-restricted-execution -
getCurrentManifest()
getCurrentManifest():
SelectionManifestData|undefined
World Mutation Beta
Returns
SelectionManifestData | undefined
Remarks
Privilege
no-restricted-execution -
replaceBlocks()
replaceBlocks(
fromBlockIdentifier,toBlockIdentifier):Promise<number>
World Mutation Beta
Parameters
fromBlockIdentifier
string
toBlockIdentifier
string
Returns
Promise<number>
Remarks
Privilege
no-restricted-execution -
