语言

Looper.MainLooper 属性

定义

返回应用程序的主循环器,该循环器位于应用程序的主线程中。

public static Android.OS.Looper? MainLooper { [Android.Runtime.Register("getMainLooper", "()Landroid/os/Looper;", "")] get; }
[<get: Android.Runtime.Register("getMainLooper", "()Landroid/os/Looper;", "")>]
static member MainLooper : Android.OS.Looper

属性值

应用程序的主循环器,位于应用程序的主线程中。

属性

注解

返回应用程序的主循环器,该循环器位于应用程序的主线程中。

Java文档android.os.Looper.getMainLooper()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于