共用方式為


SpellCheckerService.OnBind(Intent) 方法

定義

實作 可傳回內部拼字檢查工具服務介面的實作。

[Android.Runtime.Register("onBind", "(Landroid/content/Intent;)Landroid/os/IBinder;", "")]
public override sealed Android.OS.IBinder? OnBind(Android.Content.Intent? intent);
[<Android.Runtime.Register("onBind", "(Landroid/content/Intent;)Landroid/os/IBinder;", "")>]
override this.OnBind : Android.Content.Intent -> Android.OS.IBinder

參數

intent
Intent

用來系結至此服務的意圖,如提供給 M:Android.Content.Context.BindService(Android.Content.Intent,Android.Content.IServiceConnection,Android.Content.IServiceConnection)所指定。 請注意,此時不會看到與意圖一起隨附的任何額外專案。

傳回

屬性

備註

實作 可傳回內部拼字檢查工具服務介面的實作。 子類別不應覆寫。

android.service.textservice.SpellCheckerService.onBind(android.content.Intent)Java 檔。

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

適用於