共用方式為


RecognitionService.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 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於