共用方式為


AccessibilityService.MagnificationController.AddListener 方法

定義

多載

AddListener(AccessibilityService+MagnificationController+IOnMagnificationChangedListener)
AddListener(AccessibilityService+MagnificationController+IOnMagnificationChangedListener, Handler)

AddListener(AccessibilityService+MagnificationController+IOnMagnificationChangedListener)

[Android.Runtime.Register("addListener", "(Landroid/accessibilityservice/AccessibilityService$MagnificationController$OnMagnificationChangedListener;)V", "", ApiSince=24)]
public void AddListener (Android.AccessibilityServices.AccessibilityService.MagnificationController.IOnMagnificationChangedListener listener);
[<Android.Runtime.Register("addListener", "(Landroid/accessibilityservice/AccessibilityService$MagnificationController$OnMagnificationChangedListener;)V", "", ApiSince=24)>]
member this.AddListener : Android.AccessibilityServices.AccessibilityService.MagnificationController.IOnMagnificationChangedListener -> unit

參數

屬性

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

AddListener(AccessibilityService+MagnificationController+IOnMagnificationChangedListener, Handler)

[Android.Runtime.Register("addListener", "(Landroid/accessibilityservice/AccessibilityService$MagnificationController$OnMagnificationChangedListener;Landroid/os/Handler;)V", "", ApiSince=24)]
public void AddListener (Android.AccessibilityServices.AccessibilityService.MagnificationController.IOnMagnificationChangedListener listener, Android.OS.Handler? handler);
[<Android.Runtime.Register("addListener", "(Landroid/accessibilityservice/AccessibilityService$MagnificationController$OnMagnificationChangedListener;Landroid/os/Handler;)V", "", ApiSince=24)>]
member this.AddListener : Android.AccessibilityServices.AccessibilityService.MagnificationController.IOnMagnificationChangedListener * Android.OS.Handler -> unit

參數

handler
Handler
屬性

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於