diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index 42a156506b2d2d03a10a5a79c246a52af26260ae..f27621adab02a96ce2837277e0460fbe175295ad 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -884,6 +884,24 @@ declare namespace window { * @return The dump info array. */ dump(params: Array): Array; + + /** + * set the flag of the window is forbidden to move in split screen mode + * @param isForbidSplitMove the flag of the window is forbidden to move in split screen mode + * @syscap SystemCapability.WindowManager.WindowManager.Core + * @systemapi + * @since 9 + */ + setForbidSplitMove(isForbidSplitMove: boolean, callback: AsyncCallback): void; + + /** + * set the flag of the window is forbidden to move in split screen mode + * @param isForbidSplitMove the flag of the window is forbidden to move in split screen mode + * @syscap SystemCapability.WindowManager.WindowManager.Core + * @systemapi + * @since 9 + */ + setForbidSplitMove(isForbidSplitMove: boolean): Promise; } /** * window stage callback event type