在 Android 上是否有 API 以编程方式确定当前在系统设置中选择的 "Icon Shape"?

on Android is there an API to programmatically determine the "Icon Shape" currently selected in the system settings?

一些 Android phones/versions 提供了对应用程序图标(方形、圆形、泪滴形等)的外观进行个性化设置的功能。通常通过在主屏幕上长按然后选择“主页设置”或“个性化”弹出选项等来找到此系统设置。

是否有一个 API 可以用来以编程方式确定 IconShape 设置当前设置的内容?

This system setting is usually found by long-pressing on the Home screen then selecting a "Home Settings" or "Personalize" popup option etc.

这不是系统设置。这是您碰巧使用的启动器应用程序的一项功能。有成百上千的启动器应用程序,既有制造商 pre-installed 提供的,也有用户安装的。并非所有启动器应用程序都具有此功能。

Is there as an API that we can use to programmatically determine what that IconShape setting is currently set to?

没有 Android 框架 API 来控制它。您需要联系您感兴趣的启动器应用程序的开发人员,询问他们是否为他们的特定应用程序提供 API。