WindowId.FocusObserver.OnFocusGained(WindowId) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當其中一個被監控視窗獲得輸入焦點時,就會被呼叫。
[Android.Runtime.Register("onFocusGained", "(Landroid/view/WindowId;)V", "GetOnFocusGained_Landroid_view_WindowId_Handler")]
public abstract void OnFocusGained(Android.Views.WindowId? token);
[<Android.Runtime.Register("onFocusGained", "(Landroid/view/WindowId;)V", "GetOnFocusGained_Landroid_view_WindowId_Handler")>]
abstract member OnFocusGained : Android.Views.WindowId -> unit
參數
- token
- WindowId
用於標記的 Android.Views.WindowId 值。
- 屬性
備註
當其中一個被監控視窗獲得輸入焦點時,就會被呼叫。
Java 文件 android.view.WindowId.FocusObserver.onFocusGained(android.view.WindowId)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。