DeviceAdminReceiver.OnUserStarted(Context, Intent, UserHandle) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當使用者或設定檔啟動時呼叫。
[Android.Runtime.Register("onUserStarted", "(Landroid/content/Context;Landroid/content/Intent;Landroid/os/UserHandle;)V", "GetOnUserStarted_Landroid_content_Context_Landroid_content_Intent_Landroid_os_UserHandle_Handler", ApiSince=28)]
public virtual void OnUserStarted(Android.Content.Context context, Android.Content.Intent intent, Android.OS.UserHandle startedUser);
[<Android.Runtime.Register("onUserStarted", "(Landroid/content/Context;Landroid/content/Intent;Landroid/os/UserHandle;)V", "GetOnUserStarted_Landroid_content_Context_Landroid_content_Intent_Landroid_os_UserHandle_Handler", ApiSince=28)>]
abstract member OnUserStarted : Android.Content.Context * Android.Content.Intent * Android.OS.UserHandle -> unit
override this.OnUserStarted : Android.Content.Context * Android.Content.Intent * Android.OS.UserHandle -> unit
參數
- context
- Context
運行上下文如下 #onReceive。
- intent
- Intent
接收意圖如下 #onReceive。
- startedUser
- UserHandle
UserHandle剛開始的使用者。
- 屬性
備註
當使用者或設定檔啟動時呼叫。
此回調僅適用於裝置擁有者。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。