語言

Intent.ActionUserForeground 欄位

定義

若切換導致程序使用者被帶到前景,則在使用者切換完成後發送。

[Android.Runtime.Register("ACTION_USER_FOREGROUND")]
public const string ActionUserForeground;
[<Android.Runtime.Register("ACTION_USER_FOREGROUND")>]
val mutable ActionUserForeground : string

欄位值

實作

屬性

備註

若切換導致程序使用者被帶到前景,則在使用者切換完成後發送。 這只會發送給透過 Context#registerReceiver(BroadcastReceiver, IntentFilter) Context.registerReceiver。 它會傳送給即將前往前景的使用者。 這會以前景廣播方式傳送,因為它是可見使用者互動的一部分;處理時要盡快。

Java 文件 android.content.Intent.ACTION_USER_FOREGROUND。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於