Script API - v26.50.24
    Preparing search index...

    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.

    export class SelectionManager {
    private constructor();
    readonly entity: SelectionContainerEntity;
    readonly volume: SelectionContainerVolume;
    deselectBlocks(blockIdentifier: string): Promise<number>;
    generateManifest(): Promise<SelectionManifestData>;
    getCurrentManifest(): SelectionManifestData | undefined;
    replaceBlocks(fromBlockIdentifier: string, toBlockIdentifier: string): Promise<number>;
    }
    Index

    Constructors

    Properties

    Methods

    • Parameters

      • blockIdentifier: string

      Returns Promise<number>

      no-restricted-execution - This function can't be called in restricted-execution mode.

      This function can't be called in early-execution mode.

    • Parameters

      • fromBlockIdentifier: string
      • toBlockIdentifier: string

      Returns Promise<number>

      no-restricted-execution - This function can't be called in restricted-execution mode.

      This function can't be called in early-execution mode.