語言

SettingsPreferenceService.OnBind(Intent) 方法

定義

回傳服務的通訊通道。

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

參數

intent
Intent

意圖是用來綁定於服務的。

傳回

客戶端用來與服務溝通的。IBinder

屬性

備註

Java 文件 android.service.settings.preferences.SettingsPreferenceService.onBind(android.content.Intent)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於