WindowConfig

interface WindowConfig

悬浮窗口配置接口,用于定义悬浮窗口的基本属性设置

提供窗口名称和显示屏幕ID的设置与获取方法,可通过此接口配置悬浮窗口的关键属性

Author

M8Test, [email protected], https://m8test.com

Functions

Link copied to clipboard
abstract fun setDisplayId(displayId: Int)

设置窗口显示的虚拟屏幕ID

Link copied to clipboard
abstract fun setName(name: String)

设置窗口名称