Application.RunningOnAppThread

Switch to Manual
public static bool RunningOnAppThread ();

Description

如果在应用程序线程上运行,返回 true。

More information on UI and application threads can be found here.